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,394
» Latest member: zcharlesoogleto9533
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 34 Guest(s)
Bing, Google, Applebot, AOL, AOL

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 1
» Views: 60
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,592
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 184
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,601
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 154
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 298
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,113
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,964
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 180
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 116

 
  Trying to set color preferences in VS Code
Posted by: Truman - Aug-29-2021, 04:56 PM - Forum: Bar - Replies (5)

When I try to change Color Theme in VS Code receive a message "unable to write into user settings"
When I open settings the path should be added afte..... More

Print this item

  Know when the pyttsx3 engine stops talking
Posted by: UsualCoder - Aug-29-2021, 03:29 PM - Forum: General Coding Help - Replies (3)

So I am having this issue, I recently discovered the pyttsx3 API and the documentation isn't really helping, the "isBusy" function doesn't seem to wor..... More

Print this item

  Problem in saving .xlsm (excel) file using pandas dataframe in python
Posted by: shantanu97 - Aug-29-2021, 09:41 AM - Forum: General Coding Help - Replies (2)

I have two macro excel files(.xlsm file) with different information. I have written the python code that basically checks certain fields, and if that ..... More


Attached Files

.py   Incoming.py (Size: 1.84 KB / Downloads: 444)
Print this item

  File type (mode)
Posted by: rayleiter - Aug-28-2021, 06:43 PM - Forum: General Coding Help - Replies (5)

If I want to create a file which contains both ASCII Text AND Binary data, which mode is best to use when creating the file ("wt" OR "wb")? or perhaps..... More

Print this item

  Problem with my pong game code
Posted by: Than999 - Aug-28-2021, 04:12 PM - Forum: General Coding Help - Replies (8)

Hi, I am following a tutorial online: freecodecamp.org on Youtube. I am learning how to program a simple pong game in Python. However, when I go and..... More

Print this item

  can i had a cefpython3 to a labelframe
Posted by: razs - Aug-28-2021, 10:44 AM - Forum: GUI - Replies (25)

Im having some dificulties setting the browser window in a LabelFrame on the right, can someone help?

[python]from tkinter import *
from tkinter i..... More

Print this item

  Convert tkinter to pyqt
Posted by: razs - Aug-28-2021, 10:42 AM - Forum: GUI - Replies (6)

Hi all, is there a converter or something to pass a project in tkinter to pyqt?

I need a browser embed in the main window and only after finishing th..... More

Print this item

  File sorting by user-chosen category
Posted by: Bachelar - Aug-28-2021, 08:14 AM - Forum: General Coding Help - No Replies

Hi, y'all!
What I want to do is to sort epub files into category-based folders, I've got multiple categories and figured out a separator I'll put int..... More

Print this item

  logging vs print
Posted by: syafiq14 - Aug-28-2021, 04:26 AM - Forum: General Coding Help - Replies (2)

I'm learning to use logging in every project but, I'm starting to question the difference between logging.info vs print() they seem to have the same u..... More

Print this item

  If condition not met but still running
Posted by: CreeperBob16 - Aug-28-2021, 03:18 AM - Forum: General Coding Help - Replies (4)

I'm new to Python as a language but not coding as a whole, and I can't figure out why an if statement is running when the conditions aren't met. I'm t..... More

Print this item

  i think i need to use my own UTF-8 decoder code
Posted by: Skaperen - Aug-28-2021, 01:34 AM - Forum: News and Discussions - Replies (2)

i think i need to use my own UTF-8 decoder code:
[output]
lt2a/phil /home/phil 126> py tokenize_stdin.py <sfc.py|cut -c1-132|lineup >/dev/null
Trac..... More

Print this item

  Use Python to change a PHP file on my little webpage
Posted by: Pedroski55 - Aug-28-2021, 12:42 AM - Forum: General Coding Help - No Replies

On my little, simple webpage I have a PHP login system, because my boss needs a record of attendance from me.

At the moment, I need to change the t..... More

Print this item

  Handling interrupts in OOP
Posted by: Lou - Aug-27-2021, 10:50 PM - Forum: General Coding Help - Replies (2)

This is a project in process control. Originally a software simulator to keep my busy during long winter nights (two years ago). Over time the project..... More

Print this item

  Python 3.8 Nested varible not updating
Posted by: Teknohead23 - Aug-27-2021, 07:42 PM - Forum: General Coding Help - Replies (6)

I am trying to look for a folder & create it if it does not exist, if it does look for the next number up, Win 10 Pycharm 3.8
Creating the folder wor..... More

Print this item

  PyQT5 + PyCharm + Xbee
Posted by: Mitko_Sokolov - Aug-27-2021, 04:17 PM - Forum: Networking - Replies (6)

Hello, can anyone help me to unite these three python apps in one single app?
https://github.com/RuslanSdk/XBee-PyQt5-V.1.0

https://github.com/zz..... More

Print this item

  Is there a better way of formatting os.uname() output?
Posted by: CodeWolf - Aug-27-2021, 02:54 PM - Forum: General Coding Help - Replies (6)

I'm currently trying to output the results from os.uname() to a Python window containing a QLabel.

The label requires the data as a string. I know ..... More

Print this item

  myList.insert(index, element) question
Posted by: ChrisF - Aug-27-2021, 02:35 PM - Forum: General Coding Help - Replies (1)

Why does the "insert.(index, element)" function work backwards in this for loop when used in the context "myList.insert(1, myList[v])"? Instead of add..... More


Attached Files

Thumbnail(s)
   
Print this item

  PCA analysis on blobs
Posted by: erdemath - Aug-26-2021, 07:47 PM - Forum: Data Science - No Replies

I am trying to do PCA analysis on the classical makeblobs routine. There is a problem with the drawing the arrows. The code and the error message are..... More

Print this item

  Command output to Variable
Posted by: ironclaw - Aug-26-2021, 06:18 PM - Forum: General Coding Help - Replies (1)

Good afternoon everyone. I am new to python and I am trying to get my self up to speed as soon as possible. I thought it would be easy since ive alrea..... More

Print this item

  metaclass
Posted by: Bric - Aug-26-2021, 05:22 PM - Forum: Homework - Replies (5)

hello I am doing an exercise and I am stuck on a part that I do not understand too much (metaclass). I need to write the MetaInherList metaclass for t..... More

Print this item

  pywin32 Illustrator Throwing Exception Error
Posted by: matthewsjc1 - Aug-26-2021, 01:40 PM - Forum: General Coding Help - Replies (7)

I'm trying to use pywin32 to access Adobe Illustrator through COM. I'm able to access other apps like Photoshop and Excel fine, but no matter how I tr..... More

Print this item

  Serial connection connection issue
Posted by: Joni_Engr - Aug-26-2021, 01:28 PM - Forum: General Coding Help - Replies (15)

Hi, I am not able to connect to serial. I get an error "ModuleNotFoundError: No module named 'serial'"

[python]
# Serial port config
import seri..... More

Print this item

  design
Posted by: fakka - Aug-26-2021, 01:14 PM - Forum: General Coding Help - Replies (4)

HI
I have data that will look like this. Idea is to compare all parameters from machine 2 and 3 to the master machine (machine 1).
Whats the best wa..... More

Print this item

  How do I locate setup.py in my computer, or install the file?
Posted by: JaneTan - Aug-26-2021, 04:34 AM - Forum: General Coding Help - Replies (1)

Hi,

I get error:
File 'setup.py' not found
when I used pip install to install new packages on Anaconda Prompt.

I know there are similar ques..... More

Print this item

  What can the event.widget reference be used for?
Posted by: Knickers - Aug-25-2021, 09:55 PM - Forum: GUI - Replies (4)

Widgets bound with self.root.bind_all("", lambda e: self.focus(e)) return a widget reference through e.widget such as ".!entry2" when a ..... More

Print this item

Thumbs Up [SOLVED] Simplify condition test in if block?
Posted by: Winfried - Aug-25-2021, 09:20 PM - Forum: General Coding Help - Replies (2)

Hello,

Out of curiosity, is there a way to simply an "if" line with multiple conditions?

[python]if status == "1" \
or status == "2" \

o..... More

Print this item

  continue if 'subprocess.call' failes
Posted by: tester_V - Aug-25-2021, 08:56 PM - Forum: General Coding Help - Replies (11)

Hello!
I'm pulling out logs from remote hosts to my server for processing.
The server has a faceless account and all the Hosts have it added as an a..... More

Print this item

  My code does not work as expected (pygame)
Posted by: rohes_kaugummi - Aug-25-2021, 08:50 PM - Forum: Homework - Replies (1)

Hello,
I am trying to make a game in pygame and after i optimised my code it stopped working.
It is creating a window but it is black .

Thank yo..... More

Print this item

  Pyinstaller to exe error
Posted by: Tyrel - Aug-25-2021, 06:41 PM - Forum: General Coding Help - Replies (3)

Good day,

I am trying to convert from py to exe but i am getting an error after I have converted it when I try to run it.
I have all the modules i..... More

Print this item

  Senior Software Engineer (Big Data) in Burlington, MA
Posted by: patpat - Aug-25-2021, 03:21 PM - Forum: Jobs - No Replies

Are you passionate about Big Data? Do you deal with data set in the Size of Peta Bytes (PB) with large scale Hadoop cluster? In this role we are looki..... More

Print this item

  General Coding Help
Posted by: biswajitmaity - Aug-25-2021, 01:19 PM - Forum: General Coding Help - Replies (2)

I am a beginner at this course.

Getting "SyntaxError: invalid syntax"

Project code:

1. class = 8
2. print(class)

[b]Program Result..... More

Print this item

  Pyscripter debugging
Posted by: ChrisM - Aug-25-2021, 08:58 AM - Forum: General Coding Help - Replies (3)

I need to train a colleague on debugging Python scripts within PyScripter. Can anybody point me in the direction of a good debugging tutorial.

I ne..... More

Print this item

  Change row values by other row values from same df
Posted by: JosepMaria - Aug-25-2021, 08:56 AM - Forum: Data Science - Replies (3)

I have the following dataset:

[python]df = pd.DataFrame( {'user': {0: 1, 1: 1, 2: 1, 3: 2, 4: 2, 5: 2, 6: 2},
'date': {0: '1995-09-01', 1: '1..... More

Print this item

  Python and Godaddy
Posted by: jamesaarr - Aug-25-2021, 08:01 AM - Forum: Web Scraping & Web Development - Replies (8)

Hello guys,

Basically I've made a program that generates an HTML file based on information in a CSV. This works locally and I'm looking to apply it..... More

Print this item

  Upgrade from 3.7.9 to 3.7.11
Posted by: quazirfan - Aug-25-2021, 07:30 AM - Forum: General Coding Help - Replies (4)

I am looking for Python 3.7.11 windows installer here https://www.python.org/downloads/.

But 3.7.9 is the final 3.7.x relase that comes with Windo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 8 hours ago jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 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 ...
Most views
  The best Prog... 580414
  Tutorial Requ... 519586
  Web Scraping ... 442785
  Newbie with P... 386985
  New Users Int... 386549
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
zcharlesoogleto9533 Today
MaxTranslate Yesterday
pizofreude Yesterday
RockHound_Z12 Yesterday
braillescribe 12-28

User Panel Messages

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