Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,386
» Latest member: itx_sumeet
» Forum threads: 38,820
» Forum posts: 176,012

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 29 Guest(s)
Bing, AOL, Google, Twitter, itx_sumeet

Latest Threads
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 5
» Views: 9,864
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
6 hours ago
» Replies: 4
» Views: 112
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 129
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 70
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 129
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,286
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 94
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 751
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 159
a function to watch files
Forum: News and Discussions
Last Post: Gribouillis
Dec-21-2025, 07:43 AM
» Replies: 1
» Views: 138

 
  Query regarding regex
Posted by: Python_dumb - Jul-09-2022, 01:37 PM - Forum: General Coding Help - Replies (1)

Hi,

I am a beginner of python trying to learn through jupyter notebook.
I have a text file that contains close to 100k lines.
One sample line is..... More

Print this item

  Delete empty text files [SOLVED]
Posted by: AlphaInc - Jul-09-2022, 12:08 PM - Forum: General Coding Help - Replies (5)

Hello everybody,

I have a folder with many text-files, some of them are emtpy but have mutliple lines (for example, someone edited an empty text fi..... More

Print this item

  Apply textual data cleaning to several CSV files
Posted by: ErcoleL99 - Jul-09-2022, 08:17 AM - Forum: General Coding Help - No Replies

I need to perform a textual analysis that includes several speeches. The speeches were transcribed (using OCR) from several PDFs files into CSVs files..... More

Print this item

  how to connect over network and get the task done
Posted by: maiya - Jul-09-2022, 06:59 AM - Forum: Networking - Replies (3)

Hi All,

I have written a code snippet here. Where I wanted to connect a remote network, execute my script which is present in that system and get t..... More

Print this item

  How to plot seaborn heatmap on top of a background circle
Posted by: SriRajesh - Jul-09-2022, 03:08 AM - Forum: General Coding Help - No Replies

Hi,
I have below code to visualize data, and I want to ensemble a circle (heatmap inside big circle).

data is below:
[python]helix1 phase helix ..... More

Print this item

  While loop not ending (Best of 10 dice game)
Posted by: K3nidi - Jul-08-2022, 10:48 PM - Forum: General Coding Help - Replies (3)

I am just starting to learn, this is actually my very first project, and I haven'e been able to figure out or find why the while loop does not end (un..... More

Print this item

  Python Split json into separate json based on node value
Posted by: CzarR - Jul-08-2022, 03:56 PM - Forum: General Coding Help - Replies (1)

Using python I want to split a json file into multiple files based on the "transactionTypeName" within the transacations.details. In each file I want ..... More

Print this item

  Execute the script in remote and get the output
Posted by: maiya - Jul-08-2022, 01:31 PM - Forum: GUI - Replies (2)

Hi All,

I am working on one project (personal project), where I wanted to connect the remote system, execute my predefined script, get the result b..... More

Print this item

  Read data via bluetooth
Posted by: frohr - Jul-08-2022, 11:30 AM - Forum: General Coding Help - Replies (9)

Hi,
I have Teensy/Arduino and HC-05 bluetooth module. I want to send 30000 number values to PC/Python.

I have this code for Arduino/Teensy. It wil..... More

Print this item

  python-docx: preserve formatting when printing lines
Posted by: Tmagpy - Jul-08-2022, 08:03 AM - Forum: General Coding Help - Replies (4)

I am needing to filter out lines containing formatting like italic, bold,.... I used the following code to filter and print out those lines:

[python]..... More

Print this item

  remove dot
Posted by: devilonline - Jul-08-2022, 02:34 AM - Forum: General Coding Help - Replies (3)

Hi,

i'm doing a program in QTpy5 and I want to remove the dot in the query

in python is easy here i cant make it work

here is my code:

[p..... More

Print this item

  Do I have enough skills to get a programming job?
Posted by: caelum_carmine - Jul-07-2022, 11:46 PM - Forum: News and Discussions - Replies (1)

I've now decided to devote all my free time towards getting a job as a programmer. I currently work in a hotel. But I'm wondering if I should devote..... More


Attached Files

.pdf   Kyle Foley CV - Python Developer.pdf (Size: 97.18 KB / Downloads: 346)
Print this item

  looking for code that substitues parts of python code
Posted by: Skaperen - Jul-07-2022, 11:34 PM - Forum: News and Discussions - No Replies

i am looking for code, preferably organized as a function, that given a big string containing valid Python code, can substitute one string for another..... More

Print this item

  [Solved] Browser won't parse text from yaml loaded into Jinja
Posted by: SpongeB0B - Jul-07-2022, 08:14 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

I'm loading a yaml file into Flask with

[python]
with open('myfile.yml', 'r') as file:
TheYaml = yaml.safe_load(file)
[/pyth..... More

Print this item

  Code to retrieve data from a website
Posted by: charlie13255 - Jul-07-2022, 07:53 PM - Forum: General Coding Help - No Replies

Hi guys, I am trying to retrieve some data from the following link: https://quickstats.nass.usda.gov
I am somehow stuck on getting it as what I want ..... More

Print this item

  How can flask find the controller?
Posted by: 3lnyn0 - Jul-07-2022, 07:31 PM - Forum: General Coding Help - Replies (3)

Hello! How do I call a function from the controller in routes.py?
In app_ctrl.py I have function 'get_user' and I want to call it in routes.py(in 'd..... More

Print this item

  UnicodeEncodeError - Dealing with Japanese Characters
Posted by: fioranosnake - Jul-07-2022, 04:30 PM - Forum: General Coding Help - Replies (2)

Hi All,

Ive got a small Python app that sends a bunch of codes to a checking API and returns the results.

Im getting errors when the the app tri..... More

Print this item

  Pre Processing a dataframe
Posted by: Kaizen_Is_A_Bad_Coder - Jul-07-2022, 03:19 PM - Forum: General Coding Help - Replies (3)

Hi All,

Trying to get my head around Pandas and backtesting.py at the moment so apologies for the simple question...

I have the following 1 minute d..... More

Print this item

  Passing parameters with arrays and array definitions
Posted by: michael_lwt - Jul-07-2022, 01:56 PM - Forum: General Coding Help - Replies (1)

[python]from array import *

# Must locate and return the smallest value from a list
def find_smallest():
pass


# Must locate and retu..... More

Print this item

  Copy a column from one dataframe to another dataframe
Posted by: Led_Zeppelin - Jul-07-2022, 12:57 PM - Forum: General Coding Help - Replies (17)

I would like to copy a column from one dataframe and add it to a second dataframe as the last column. I know it can be done, but I am looking for a
..... More

Print this item

  Upload file data on Qwidget
Posted by: maiya - Jul-07-2022, 07:00 AM - Forum: GUI - Replies (4)

Hi All,

I am working on QWidget part where I wanted to browse a file and upload the file data on widget window (that should be editable too). It is..... More

Print this item

  site-packages issue
Posted by: paulgureghian - Jul-07-2022, 12:35 AM - Forum: General Coding Help - Replies (3)

How to fix this site-packages issue.
I only have one version of Python installed.

[Image: zzWH5R5]


Attached Files

Thumbnail(s)
   
Print this item

  [Solved]Help Adding Sql Results in ComboBox
Posted by: Extra - Jul-07-2022, 12:22 AM - Forum: GUI - Replies (2)

Hello,

I have a Database that stores Categories and their low Quantity Values. I have a SELECT statement that gets all the categories from the data..... More

Print this item

  supporting both str and bytes on write file
Posted by: Skaperen - Jul-06-2022, 11:37 PM - Forum: News and Discussions - Replies (12)

i want to open a file object that supports both str and bytes output (print and write functions or methods). is there a way to do this?

Print this item

Lightbulb Headers and Cookies for Web Scraping
Posted by: ScraperAPI - Jul-06-2022, 03:56 PM - Forum: Tutorial Requests and Submissions - No Replies

Hi guys! Our team recently wrote this article too and I hope you find it a useful tutorial! If you have any questions, please just shoot me a message...... More

Print this item

Lightbulb How to Build a LinkedIn Scraper in Python [No Headless Browser Needed]
Posted by: ScraperAPI - Jul-06-2022, 03:49 PM - Forum: Tutorial Requests and Submissions - No Replies

Hi guys! Our team recently wrote this article and I hope you find it a useful tutorial! If you have any questions, please just shoot me a message.

..... More

Print this item

  Python create a spreadsheet with column and row header
Posted by: ouruslife - Jul-06-2022, 02:40 PM - Forum: General Coding Help - Replies (4)

I want to compare three common columns(ID) in three different dataframes(USA, Canada, Mexico) and output if an ID matches in at least two data frames...... More

Print this item

  Updating/running code when path changes
Posted by: hermannhaf - Jul-06-2022, 12:49 PM - Forum: GUI - Replies (14)

Hello

I’m working on a project and I need help.

I have a Raspberry Pi that is connected to a small display. I want the display to show the curre..... More

Print this item

  Python wheel packages - how to add timestamp to the wheel name?
Posted by: vcankovic - Jul-06-2022, 12:01 PM - Forum: General Coding Help - No Replies

I am using Jenkins to create a new build packages for Python. My setup.py file is the following:

[font=Courier New]setup(
name = "my-package",
..... More

Print this item

  Take inline argument value
Posted by: SM_13 - Jul-06-2022, 10:03 AM - Forum: General Coding Help - Replies (2)

Hi All ,
I need help in modifying a Script
I need help in python syntax , where I would like to take value from inline argument .

for e.g : le..... More

Print this item

  Error in Int object is not subscript-able.
Posted by: kakut - Jul-06-2022, 06:40 AM - Forum: General Coding Help - Replies (2)

Now, I know what you're thinking – "What the bloody hell are live sex cams?" Well, let me tell you, my mate. These are the virtual windows to a whole ..... More

Print this item

  Script Path
Posted by: tfernandes - Jul-05-2022, 08:31 PM - Forum: General Coding Help - Replies (8)

Hi All,

I'm quite new to python.

I did a default installation of PyCharm on Mac OS and also installed python latest version on Mac.
Whenever ..... More

Print this item

  Changing a string value to a numerical value using python code and a lamda function
Posted by: Led_Zeppelin - Jul-05-2022, 01:12 PM - Forum: General Coding Help - Replies (6)

I need to convert a column which indicates machine status (normal, broken or recovering) to a numeric representation. This seems easy enough, but I wa..... More

Print this item

  Compare two lists (with intersections).
Posted by: wnesbv - Jul-05-2022, 11:14 AM - Forum: General Coding Help - No Replies

Compare two lists (with intersections).

model:

reserve_period = sa.Column(sa.String, nullable=True)
the format of saving in ..... More

Print this item

  Research work - help with binary data
Posted by: Newhedgehog6309 - Jul-05-2022, 09:28 AM - Forum: Homework - Replies (1)

Hello everyone,

I would like to use python to analyze this table (example). But I don't know which technique would be the best for my problem.

E..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Lottery generator (beginn... 4 hours ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 6 hours ago eedjsa bowlofred General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
  Spaces in string 12-19, 13:04 Mallard Mallard General Codin...
Most views
  The best Prog... 580333
  Tutorial Requ... 518841
  Web Scraping ... 442758
  Newbie with P... 386942
  New Users Int... 386050
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
itx_sumeet Today
zaathonyshulze4201 Today
Michaelhauct Yesterday
eedjsa Yesterday
byanfrances6176 Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020