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,397
» Latest member: MaxTranslate
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 25 Guest(s)
Bing, Google, Applebot, jogl

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: jogl
11 minutes ago
» Replies: 0
» Views: 11
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Today, 09:12 AM
» Replies: 1
» Views: 4,586
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Today, 08:37 AM
» Replies: 4
» Views: 167
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,593
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 287
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,101
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,953
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 107

 
  How To Create A "Birthday Calculator" in Python?
Posted by: unigueco9 - Oct-08-2021, 02:56 PM - Forum: General Coding Help - Replies (3)

Hi, I'm relatively new to Python and I want to create a program with Python that can calculate how many days are left until your birthday. However I'm..... More

Print this item

  Thoughts on interfacing with a QR code reader that outputs keystrokes?
Posted by: wrybread - Oct-08-2021, 02:19 PM - Forum: General Coding Help - Replies (1)

I have a hardware QR code reader that seems to act as a regular HID device (keyboard), and when it detects a QR code it outputs a long string. For exa..... More

Print this item

  How to find I2C library in Python
Posted by: Joni_Engr - Oct-08-2021, 02:02 PM - Forum: General Coding Help - Replies (1)

Hi,

I am looking for I2C library that I can use to read the data from I2C slave module using MCP2221. Does compatible library exist ?

Print this item

  plot on the same figure using a for loo with matplotlib
Posted by: drSlump - Oct-08-2021, 10:45 AM - Forum: General Coding Help - Replies (2)

I plot lists' element, which is itself element of a dictionary, in several figure using a for loop
[python] for ind, item in enumerate(drop_down_..... More

Print this item

  Rounding issue
Posted by: kmll - Oct-08-2021, 09:38 AM - Forum: General Coding Help - Replies (1)

I am writing a simple program to calculate the zero point for a function. However it will never find it because of rounding. Any suggestions of how th..... More

Print this item

  How to add product details in exe generated by pyinstaller
Posted by: arex786 - Oct-08-2021, 04:35 AM - Forum: General Coding Help - Replies (1)

So, I am using the pyinstaller, and created my exe through auto-py-to-exe. The problem I see, I lack details of product info
How may I add these deta..... More


Attached Files

Thumbnail(s)
   
Print this item

  deleting select items from a list
Posted by: Skaperen - Oct-08-2021, 01:53 AM - Forum: General Coding Help - Replies (13)

i want to delete select items from a list, such as those which have a specific value in a dictionary. this often gets pretty ugly. maybe i wa..... More

Print this item

  Planning High Level Drawing Library
Posted by: nadapez - Oct-08-2021, 01:22 AM - Forum: News and Discussions - No Replies

I am planning to start a project to develop a high level drawing python library.
I want to target both Gtk and tkinter, but also I want the library ..... More

Print this item

  TIOBE Index for October 2021 - Python programming language number 1!
Posted by: Yoriz - Oct-07-2021, 10:51 PM - Forum: News and Discussions - Replies (1)

[quote="https://www.tiobe.com/tiobe-index/"]
For the first time in more than 20 years we have a new leader of the pack: the Python programming langua..... More

Print this item

  Python 3.10 is Released
Posted by: snippsat - Oct-07-2021, 10:29 PM - Forum: News and Discussions - Replies (1)

Release Python 3.10.0
One big new thing is the new switch/case statements version on..... More

Print this item

Question Help creating an asterisk and T diamond
Posted by: xxxlabradorxxx - Oct-07-2021, 09:54 PM - Forum: Homework - Replies (2)

Hi, I need to create a T diamond mixed with asterisks, so I was hoping someone could help me with the best way to go about doing this.

Enter th..... More

Print this item

  How psycopg2 autocommit works ?
Posted by: johntay - Oct-07-2021, 08:39 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm working on a "simple" script that makes use of psycopg2.
The script takes some time to finish (not the problem), while I was trying to do ..... More

Print this item

  Why is dictionary length not 20?
Posted by: Mark17 - Oct-07-2021, 05:42 PM - Forum: General Coding Help - Replies (2)

Hi all,

Here's some code:

[Python]
test_keys = []

for i in range(0,20):
n = random.randint(1,20)
test_keys.append(n)
#print(rando..... More

Print this item

  continuing an f-string
Posted by: Skaperen - Oct-07-2021, 01:34 PM - Forum: News and Discussions - Replies (2)

i just discovered that when continuing an f-string, what i quoted next needs to also be an f-string if it has any formatting elements that need to be ..... More

Print this item

  Having trouble with my Computer Science task
Posted by: Dunxx - Oct-07-2021, 11:03 AM - Forum: Homework - Replies (1)

My computer science teacher doesn't know python, ive spent 20 minutes trying to figure this out but cannot.
This is my task

You are required to pr..... More


Attached Files

Thumbnail(s)
   
Print this item

  install apache-airflow[postgres,google] on Python 3.8.12 virtual env
Posted by: ShahajaK - Oct-07-2021, 10:23 AM - Forum: General Coding Help - Replies (1)

Hello all, this is my first time here so apologies if something is missed or in the wrong place.

I want to create a python 3.8.12 virtual env with ..... More

Print this item

  Radio butto to enable/disable combo box in Tkinter
Posted by: cybertooth - Oct-07-2021, 08:28 AM - Forum: GUI - Replies (5)

I have two rows of combo boxes representing two different groups. the user needs to select either of the group and then choose different values from t..... More

Print this item

  Matplotlib Animation with Threading
Posted by: peterjv26 - Oct-07-2021, 05:12 AM - Forum: General Coding Help - Replies (4)

I have a requirement to do animation with matplotlib and also generate/manipulate the data to be plotted. I was hoping to get this done in the same pr..... More

Print this item

  Creating a function interrupt button tkinter
Posted by: AnotherSam - Oct-07-2021, 05:02 AM - Forum: GUI - Replies (2)

[code]from tkinter import *

def start(num):
global sweepCancel
print(num)
if num < 10:
num = num +1
sweepCancel=wi..... More

Print this item

  Cannot install tensorflow, numpy etc in Pycharm with Python 3.10
Posted by: plumberpy - Oct-07-2021, 02:31 AM - Forum: General Coding Help - Replies (2)

I cannot install tensorflow, numpy etc in Pycharm with Python 3.10

Am I doing something wrong or have to wait for tensorflow etc to be compatible w..... More

Print this item

  Retrieving a column from a data set using a function
Posted by: Bayle - Oct-06-2021, 05:51 PM - Forum: General Coding Help - Replies (6)

Hello all, this is my first time here so apologies if something is missed or in the wrong place.

I have recently started to learn to code and I am st..... More

Print this item

  Synconizing mobile app to desktop
Posted by: hammer - Oct-06-2021, 01:33 PM - Forum: General Coding Help - Replies (2)

Just looking for some expert direction on things to research to achieve the following.Note i am just learning python but have programmed some in VB. I..... More

Print this item

Star I'm getting syntax error while using input function in def.
Posted by: yecktmpmbyrv - Oct-06-2021, 08:56 AM - Forum: General Coding Help - Replies (1)

Please tell me what is wrong and why it is wrong? what is wrong with indentation? please explain
Error when input() is given below def():

[attachm..... More


Attached Files

Thumbnail(s)
       
Print this item

  Using Qt to emit a signal (or maybe with QTimer)
Posted by: pyhill00 - Oct-06-2021, 08:12 AM - Forum: GUI - Replies (1)

I am trying to send an .hdf5 file to a method in the main python file in the class here:[python]

class DesignerMainWindow(QtGui.QMainWindow, ..... More

Print this item

  How to recognize negative in a text?
Posted by: AlekseyPython - Oct-06-2021, 07:54 AM - Forum: Data Science - Replies (1)

With word2vec I can vectorize both individual words and whole texts (as the arithmetic mean of all words included in the text). But at the same time, ..... More

Print this item

  Slittping table into Multiple tables by rows
Posted by: drunkenneo - Oct-06-2021, 06:07 AM - Forum: General Coding Help - Replies (1)

I have a dataframe which have data in it eg:

A B C
1 2 3
4 2 3
D F C
4 5 7

I want the dataframe to split into two diff..... More

Print this item

  Exit function from nested function based on user input
Posted by: Turtle - Oct-05-2021, 08:02 PM - Forum: General Coding Help - Replies (5)

Hello,

Currently making a chat bot that helps with adding some items to a database. I want a user to be able to start adding something to a databa..... More

Print this item

  multiplying an iterator
Posted by: Skaperen - Oct-05-2021, 06:00 PM - Forum: News and Discussions - Replies (9)

if this didn't raise an exception, would you expect it to produce an iterator that multiplies this given iterator?
[python]
given = reversed('foobar..... More

Print this item

  Have you considered adding a section for MicroPython?
Posted by: Tiel - Oct-05-2021, 03:16 PM - Forum: Board - Replies (7)

Sure, I know hardly anyone uses MicroPython but for entirely selfish reasons I would like to see a section on this forum for MicroPython.

Of course..... More

Print this item

  Why not allow users to offer paid bounties?
Posted by: Tiel - Oct-05-2021, 03:04 PM - Forum: Board - Replies (5)

When I ask questions on python-forum.io I typically wonder why users don't have the option to offer paid bounties like https://www.bountysource.com/...... More

Print this item

  Removing nan values from a dict
Posted by: tomtom - Oct-05-2021, 02:57 PM - Forum: General Coding Help - Replies (8)

I have this dict:

Output:
[438.4, 439.18, 439.9, 440.21999999999997, 440.38, 441.08000000000004, nan, nan, nan, nan]
Please how can I rem..... More

Print this item

  PyautoGUI- How to use If - Else with pyautogui.locateCenterOnScreen
Posted by: Tiel - Oct-05-2021, 12:47 PM - Forum: General Coding Help - Replies (3)

Essentially I want my Python script to perform this...

[python] x = True
if x == True:
print('Congratulations, you won!')
..... More

Print this item

  Python AES ECB
Posted by: mistvan - Oct-05-2021, 10:27 AM - Forum: General Coding Help - Replies (1)

Hi,

I'm very new to python and I have a question about AES.
I have to use a function in both python and PHP which uses AES/ECB crypto, but couldn'..... More

Print this item

  Exporting data frame to excel
Posted by: dyerlee91 - Oct-04-2021, 06:35 PM - Forum: Data Science - No Replies

Hey everyone. I've got several lists I want to export to excel, but the only thing my script yields is an empty file with no file type. Can anyone poi..... More

Print this item

  How to increase the size of a png picture for the heatmap of the correlation?
Posted by: lulu43366 - Oct-04-2021, 06:11 PM - Forum: General Coding Help - Replies (9)

Good evening to the community Smile
I am working with the file "Santé3".
I would like to create and download a png picture with a good definit..... More


Attached Files

Thumbnail(s)
   

.csv   Santé3.csv (Size: 5 KB / Downloads: 377)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 11 minutes ago jogl jogl General Codin...
  Struggles I Faced While E... Today, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Today, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 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... 580408
  Tutorial Requ... 519490
  Web Scraping ... 442781
  Newbie with P... 386982
  New Users Int... 386496
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
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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