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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 404
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,879
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,419
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 765
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,240
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,107
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,335
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,322
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,449
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,010

 
  max() and min() in Python
Posted by: coder_sw99 - Aug-29-2021, 06:03 PM - Forum: General Coding Help - Replies (3)

Hello,

If two iterable objects are put
in the max or min function, then the sum of both iterables is calculated and the
iterable with the biggest ..... More

Print this item

  Using curve_fit to optimize function (TypeError)
Posted by: Laplace12 - Aug-29-2021, 05:05 PM - Forum: General Coding Help - Replies (4)

Hey!

I have some experimental data that I know follows a certain function. My aim is to fit a function (dy) to the data points and get Python to re..... More

Print this item

  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: 432)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576320
  Tutorial Requ... 498031
  Web Scraping ... 440237
  Newbie with P... 384085
  New Users Int... 366885
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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