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) | 33 Guest(s)
Google, Bing, Applebot, AOL, Mojeek, AOL

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 1
» Views: 56
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: 153
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 297
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,112
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,962
[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

 
  Python on VSCode
Posted by: GiBandoleiro - Oct-31-2023, 09:51 PM - Forum: General Coding Help - Replies (1)

I was programming normally, with functions having yellow text when created, imports dark gray when they were not being called, several colors and func..... More


Attached Files

Thumbnail(s)
   
Print this item

  Using string input for boolean
Posted by: tronic72 - Oct-31-2023, 09:47 PM - Forum: General Coding Help - Replies (3)

Hi,

I've in the process of learning logical operators. I have the following code which works.

[python]# high_income = input("Do you have a high ..... More

Print this item

  ttp template not working when values are absent in some scenarios
Posted by: jss - Oct-31-2023, 09:01 PM - Forum: General Coding Help - No Replies

......

Print this item

  How to copy work sheet data one workbook to other?
Posted by: sayyedkamran - Oct-31-2023, 05:08 PM - Forum: General Coding Help - Replies (2)

I have a use case, in which I need to merge data from 100s of workbook to one major work book.
For this I need to copy the data from one worksheet o..... More

Print this item

  Auto update database view
Posted by: jnik - Oct-31-2023, 04:26 PM - Forum: GUI - No Replies

I'm working on a program that will log data from a CAN bus (over serial) and help me reverse engineer the messages.

I'll be logging the incoming me..... More

Print this item

  Failed attempts to load Microsoft Appstore Python DLLs
Posted by: piyushd - Oct-31-2023, 10:43 AM - Forum: General Coding Help - No Replies

Greetings community,

I am trying to load Python dynamic libraries to interface Python from an application that I am trying to develop. The Python..... More

Print this item

  QDockWidget
Posted by: tomro91 - Oct-31-2023, 06:42 AM - Forum: GUI - Replies (1)

Hello everyone,

I am developing application in python using PySide6 where I have 4 dock widgets placed in top left + right, bottom left + right tha..... More

Print this item

  C/C++ extension as an executable, not a library
Posted by: bill_s - Oct-31-2023, 03:04 AM - Forum: General Coding Help - No Replies

I have a python application which I package with "python -m build", then install with "pip install mystuff.tar.gz", and that works well. In the past I..... More

Print this item

  Potential Permission error on Mac OSX Catalina
Posted by: OWOLLC - Oct-31-2023, 01:30 AM - Forum: General Coding Help - Replies (2)

Problem:

  • Cannot import modules - including some included ones in some cases, and so cannot continue coding and debugging on my loca..... More

Print this item

  Help with nested maps
Posted by: Unkovic - Oct-30-2023, 10:29 PM - Forum: General Coding Help - Replies (10)

[python]def parse_map(self, data, map_name):
lines = data.strip().split('\n')
result = {}
map_stack = []

for lin..... More

Print this item

  Tkinter multiple windows in the same window
Posted by: tomro91 - Oct-30-2023, 02:50 PM - Forum: GUI - Replies (1)

Hello everyone,

I am trying to develop an application in Tkinter that have one main screen and 4 sub-screens inside the main screen. I want to cont..... More

Print this item

  Data types changing by itself
Posted by: dimas - Oct-30-2023, 02:25 PM - Forum: Data Science - Replies (2)

English is not my native language; please excuse my typing errors.

Thus, this is my first post. I hope I will get more precise on my questions soon..... More

Print this item

Question Trying to understand
Posted by: High_on_code - Oct-30-2023, 10:38 AM - Forum: General Coding Help - Replies (2)

Hi, I was trying to under stand this code (it's copied from somewhere else), I understood a lot but I am getting confused in this 1 thing, really sorr..... More

Print this item

  problem using pyeval_expression
Posted by: akbarza - Oct-30-2023, 10:25 AM - Forum: General Coding Help - Replies (5)

hi
i found the below code in a net page( i do not know the exact address of it):
[python]
from pyeval_expression import Expression
expr=Expressi..... More

Print this item

  How to write a dict code in python
Posted by: ariellea88 - Oct-30-2023, 07:12 AM - Forum: Homework - Replies (4)

Hello dear All!

I am a newcomer, could you please explain what is required to do first here?


1. Write a function process(text). This function ..... More


Attached Files

.py   py4202.py (Size: 2.65 KB / Downloads: 223)
Print this item

  find the sum of a series of values that equal a number
Posted by: ancorte - Oct-30-2023, 05:06 AM - Forum: General Coding Help - Replies (1)

Hello, i'm completely new of Python. I know that there would be a way to determine, form a series of values, which values are corresponding to a certa..... More

Print this item

  Mirror Video Image in realtime
Posted by: makingwithheld - Oct-30-2023, 04:48 AM - Forum: General Coding Help - Replies (1)

I want to write a video application that will mirror a HMDI video image in realtime on a RPi (4 or5). (Flip right and left)

Any suggestions would b..... More

Print this item

  a feature i would like to see added to Python
Posted by: Skaperen - Oct-30-2023, 12:30 AM - Forum: News and Discussions - No Replies

a feature i would like to see added to Python is [u]some kind of syntax element that means "ignore this and all else that follows until end of file"[/..... More

Print this item

  Pulsing notification icon
Posted by: menator01 - Oct-29-2023, 10:18 PM - Forum: Board - Replies (5)

Is it me or does anyone else not able to open the notifications unless in the forum topics?
It doesn't open on the forum index.

Print this item

  ModuleNotFoundError: No module named 'requests'
Posted by: Serg - Oct-29-2023, 09:11 PM - Forum: General Coding Help - Replies (18)

Installed the requests module, but it is not there. Why?


Attached Files

Thumbnail(s)
       
Print this item

  Can't Find Path
Posted by: hatflyer - Oct-29-2023, 06:05 PM - Forum: General Coding Help - Replies (8)

I get the following error {the last line shown} regarding the path. "The system cannot find the path specified: './Data/train' "

The location of th..... More

Print this item

  Shmup version 0.02
Posted by: menator01 - Oct-29-2023, 12:34 PM - Forum: Code sharing - No Replies

There may still be some bugs. Been trying to get them worked out.
See this threa[url=https://python-forum.io/thread-41008.html]..... More

Print this item

  Navigating file directories and paths inside Jupyter Notebook
Posted by: Mark17 - Oct-28-2023, 01:25 PM - Forum: General Coding Help - Replies (5)

Hi all,

I want to become fluent with entering code in JN to successfully navigate my directories.

For example, I want to import a .csv file like..... More

Print this item

  Trying to make a board with turtle, nothing happens when running script
Posted by: Quascia - Oct-28-2023, 12:52 PM - Forum: General Coding Help - Replies (3)

Hello,
I'm trying to make a board with turtle ( which I'm new to ) using loops and functions, but nothing seems to work. When I run the script, noth..... More

Print this item

  importing a module given a path to the file
Posted by: Skaperen - Oct-28-2023, 01:58 AM - Forum: News and Discussions - Replies (8)

i want to have my script take a path to a file that it gets (may be typed in, or read from some other file, or given as a command argument) and import..... More

Print this item

  Can i clean this code ?
Posted by: BSDevo - Oct-27-2023, 11:10 PM - Forum: General Coding Help - Replies (8)

Hi, im trying to clean my code and make less of and i would like to know if its possible to clean it ( im having issues with finding solutions when i ..... More

Print this item

  How to count total number of sheets in an excel workbook using polars
Posted by: sayyedkamran - Oct-27-2023, 09:54 PM - Forum: Data Science - No Replies

I am reading different excel file in python using polars.

How can I count the number of sheets in an excel file?

Print this item

  Python software
Posted by: prathimarao - Oct-27-2023, 06:56 PM - Forum: News and Discussions - Replies (4)

Hello,
I am new to Python programming. Please advise of how to practice sample programs?

Thank you,
Prathima.

Print this item

  Sort a list of dictionaries by the only dictionary key
Posted by: Calab - Oct-27-2023, 02:12 PM - Forum: General Coding Help - Replies (2)

I have the following structure:

my_list = [{"Dog": {"sound":"bark"}}, {"Cow": {"sound":"moo"}}, {"Cat": {"sound":"meow"}}]
I want to ..... More

Print this item

  Cannot display anything inside pygame window
Posted by: the_gullwing - Oct-27-2023, 11:23 AM - Forum: Game Development - Replies (5)

Hello,

Long story short...I'm on my trip to learn programming. Recently I've bought a python book as a starting point. I've got some basics covered..... More

Print this item

  How to add columns to polars dataframe
Posted by: sayyedkamran - Oct-27-2023, 11:12 AM - Forum: Data Science - Replies (1)

I am using polars to read an xlsx sheet in a dataframe.

How can I add columns to the start of the worksheet? Since using using "with_colums" add c..... More

Print this item

  find and group similar words with re?
Posted by: cartonics - Oct-27-2023, 06:55 AM - Forum: General Coding Help - Replies (4)

If i have 2 list of names

for example
list1 ="Augsburg II, Turkgucu Munchen,Bayern II, Burghausen, Memmingen, Wurzburger Kickers, Ansbach, Buchba..... More

Print this item

  Get current app window handle and bring window to front
Posted by: rjdegraff42 - Oct-27-2023, 12:16 AM - Forum: Networking - Replies (1)

I'm trying to set up a simple command line chat application between two computers on my home network. I have the server and client scripts working exa..... More

Print this item

  referencing an attribute
Posted by: Skaperen - Oct-26-2023, 10:41 PM - Forum: News and Discussions - Replies (2)

is there a way to make a variable be a reference to an attribute? i would like to set up a named reference to [inline]decimal.getcontext().prec[/inli..... More

Print this item

  GroupBy - Sum = Error [datetime64 type does not support sum operations]
Posted by: BSDevo - Oct-26-2023, 05:07 PM - Forum: Data Science - Replies (4)

Hi,
Im trying to solve this particular issue.
Im using two columns to display Price and Market.
[python]

lftcolumn, rghtcolumn = st.col..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 6 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... 580412
  Tutorial Requ... 519567
  Web Scraping ... 442785
  Newbie with P... 386984
  New Users Int... 386542
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