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,933
» Latest member: goodvicent
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 37 online users.
» 2 Member(s) | 31 Guest(s)
Google, AOL, AOL, Pedroski55, goodvicent

Latest Threads
LOST OF INVESTMENT SCAM
Forum: News and Discussions
Last Post: goodvicent
4 minutes ago
» Replies: 0
» Views: 1
Too much space between gr...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 3
» Views: 906
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 358
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,495
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,543
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 424
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 133
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,923
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,177
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 862

 
  Python Serial: How to read the complete line to insert to MySQL?
Posted by: sylar - Mar-21-2023, 08:58 PM - Forum: General Coding Help - Replies (1)

Hello. Sorry for my bad English, it's not my first language.
I have created a python code to insert data from a DHT11 sensor into a mysql table. Eve..... More

Print this item

  Sample training small model
Posted by: AndrzejB - Mar-21-2023, 07:43 PM - Forum: Data Science - Replies (3)

I am just starting deep learning. I now have only laptop without dedicated GPU.
I search code and dataset for deep learning model in reasonable time ..... More

Print this item

  Networking Issues - Python GUI client and server connection always freezes
Posted by: Veritas_Vos_Liberabit24 - Mar-21-2023, 03:18 AM - Forum: General Coding Help - No Replies

So my python program is essentially an investment interface where the client displays the graphical elements like the first page is the login or signu..... More


Attached Files

.py   Client.py (Size: 13 KB / Downloads: 235)
.py   Server.py (Size: 5.61 KB / Downloads: 244)
Print this item

  is ValueError a class?
Posted by: Skaperen - Mar-20-2023, 05:40 PM - Forum: News and Discussions - Replies (11)

is ValueError a class? can a class be hashed? should a class be hashable? should the result of ValueError() be hashable?

one of the things i have..... More

Print this item

  Storing version of the downloaded libs using json file
Posted by: Rakshan - Mar-20-2023, 03:06 PM - Forum: Homework - Replies (3)

Hi, I am working on a requirement where I download packages from a repository using Python. To improvise the script further, we want to have a setup w..... More

Print this item

  Thumbnail picture won't show, and no error. why?
Posted by: Ragnar_Itachi - Mar-20-2023, 01:56 PM - Forum: GUI - Replies (1)

Thumbnail picture won't show, and also no error. why?
this is my full code.

[python]from tkinter import *
from PIL import Image, ImageTk
import..... More

Print this item

  <b> followed by <b> before closing</b>
Posted by: WJSwan - Mar-20-2023, 01:12 PM - Forum: General Coding Help - Replies (1)

I am trying to edit some HTML text in Python. I have an HTML file where there are sometimes a <b> tag (Bold) and before it is closed with a </b> there..... More

Print this item

  Add a row per group and depending of values
Posted by: Menthix - Mar-20-2023, 11:20 AM - Forum: General Coding Help - No Replies

Hello,
I have this dataframe (see capture 1).

And I 'd like to add one row per group of the Var_1 such as I have a new value Var_2=3. And the val..... More


Attached Files

Thumbnail(s)
       
Print this item

  Anti-sum drawers
Posted by: Paul_Maillet - Mar-19-2023, 09:08 PM - Forum: Homework - Replies (6)

Hello ! I need someone to quickly run a program that takes time...
I am French and I am in high school, I'm researching anti-sum drawers, i.e., drawe..... More

Print this item

  Non cryptographic hashes
Posted by: AndrzejB - Mar-19-2023, 08:38 PM - Forum: General Coding Help - Replies (3)

How to use fast but short, non cryptographic hashes - 32 and 64 bit?

Print this item

  XAMPP Configuration of Python
Posted by: lavanyadeepak - Mar-19-2023, 02:01 PM - Forum: Web Scraping & Web Development - Replies (1)

I am starting to explore Python. I have downloaded the latest version of Python. Installed the same for all users and have tested it too

[ou..... More

Print this item

  json decoding error
Posted by: deneme2 - Mar-19-2023, 12:54 PM - Forum: General Coding Help - Replies (10)

Hello my friends,
Wish you al have a restful sunday.
I want to use one json file in python with a following code.

[python]import json
import dat..... More

Print this item

  Tie Breaks
Posted by: klatlap - Mar-19-2023, 04:15 AM - Forum: General Coding Help - Replies (6)

Hi all, i use this code to rank a list, the problem is if there is a tie break it gives inaccurate info, how can i fix this so tie breaks will be base..... More

Print this item

  optimization
Posted by: Skaperen - Mar-18-2023, 11:03 PM - Forum: General Coding Help - No Replies

if i code this:

bar = 0
if foo is None:
    bar = 99
elif foo is True:
    bar = 99
print(bar)
vs coding this:
[python]
..... More

Print this item

  Confirm / Cancel button in Python & Flask
Posted by: ladak - Mar-18-2023, 11:26 AM - Forum: General Coding Help - No Replies

Hello everyone,

I am designing a ChatBot in which I need 2 buttons. confirm & cancel (See attached File).
Anyone can please help me how to..... More


Attached Files

Thumbnail(s)
   
Print this item

  Transposing a dataframe without creating NaN values
Posted by: doug2019 - Mar-17-2023, 08:45 PM - Forum: General Coding Help - Replies (2)

Hi! I have the data like this in a .csv file:
index data
1 10
2 20
3 30
4 40
5 50
6 ..... More

Print this item

  Dynamic pixel display
Posted by: jerryf - Mar-17-2023, 01:05 PM - Forum: General Coding Help - Replies (2)

I am developing a relatively simple program in Python to allow students to explore recurrence relations of the form x(n+1) = (1+b)F(xn) – bx(n-1). T..... More

Print this item

  Mapping a value to an interval
Posted by: JazonKuer - Mar-17-2023, 08:34 AM - Forum: General Coding Help - Replies (12)

Hi,

Let's say I have a variable coordinate=234321, and a variable scale=5000 (a constant, but should also be able to be e.g. 4000). Now, I want to tr..... More

Print this item

  Python script to verify Firmware option available in Device Manager
Posted by: rajithc - Mar-17-2023, 06:21 AM - Forum: News and Discussions - Replies (1)

Hi,
Any one familiar with python script to check Firmware option available or not in Device Manger.
I am not expecting python GUI Automation script...... More

Print this item

  Help replacing word in Mutiple files. (SOLVED)
Posted by: mm309d - Mar-17-2023, 04:38 AM - Forum: General Coding Help - No Replies

I'm learning Python and I need to replace this word "VELIVE9" with "VELIVE" in multiple files. I'm stuck.
I have tried different things but I can't g..... More

Print this item

  Python and DMX (aka, light controller)
Posted by: ScottAF - Mar-16-2023, 10:37 PM - Forum: General Coding Help - Replies (4)

Howdy, Everyone.

Formally, I'm a retired programmer. Informally, I still like to play so starting last summer began teaching myself Python.

Whe..... More

Print this item

  Trying something that may not be possible?
Posted by: fredep57 - Mar-16-2023, 09:02 PM - Forum: General Coding Help - Replies (8)

OK, buran helped my in another thread and I am immensely grateful.

Now I want to get the file names (including their path) on my hard drive. I hav..... More

Print this item

  Is there a reason to use Jupyter note when you have Jupyter Lab?
Posted by: JanOlvegg - Mar-16-2023, 07:20 PM - Forum: News and Discussions - Replies (2)

I notice that on certain projects, you can create a Jupyter Lab or a Jupyter notes. I was under the impression that both Jupyter Lab and Jupyter Note ..... More

Print this item

  Which card for machine learning?
Posted by: AndrzejB - Mar-16-2023, 12:46 PM - Forum: Bar - Replies (1)

I am planning to buy a computer. I use Linux Mint and often Python Which card will be good in this situation ? (speed , drivers etc)
RTX 3070,3080, 3..... More

Print this item

  write the password in the Terminal
Posted by: mohamed_touil - Mar-16-2023, 08:50 AM - Forum: General Coding Help - Replies (3)

Dear sirs ,

I'm new with python , but i have some backgroud in programming ,
i want to automate some task at work ,i'm using python 3 with linux o..... More

Print this item

  A Python library for audio and music analysis, feature extraction
Posted by: CMLab - Mar-16-2023, 03:26 AM - Forum: Code sharing - No Replies

Open source project:
https://github.com/libAudioFlux/audioFlux

AudioFlux is a library for au..... More

Print this item

  Read complete windows registry?
Posted by: fredep57 - Mar-15-2023, 06:24 PM - Forum: General Coding Help - Replies (3)

I am wanting to make a python app that reads the complete registry. I have looked online and cannot find any python extension, script or help that wi..... More

Print this item

  Sent email based on if condition
Posted by: stewietopg - Mar-15-2023, 08:17 AM - Forum: General Coding Help - Replies (1)

I have script which reads device info from database - IP, LOCATION and STATUS

First it checks if device has status "ACTIVE" if yes than it pings devi..... More

Print this item

  what's wrong? i know this is simple
Posted by: davidorlow - Mar-15-2023, 12:41 AM - Forum: General Coding Help - Replies (11)

Ok, I'm a struggling programmer. Dabbled in it for years and never get any better than a basic hello world programmer. LOL.

I'm trying to write a..... More

Print this item

  reduce nested for-loops
Posted by: Phaze90 - Mar-14-2023, 08:34 PM - Forum: General Coding Help - Replies (11)

Hi,

i have lots of "search"-loops which looks like this:
[code]
for b in a.list_of_bs:
for c in b.list_of_cs:
..... More

Print this item

  Reading data from excel file –> process it >>then write to another excel output file
Posted by: Jennifer_Jone - Mar-14-2023, 07:59 PM - Forum: General Coding Help - No Replies

Hello dear pythonians ,

I have an excel file which containers qr code each in separate line ( see photo attached)
I need to do some processing to ..... More


Attached Files

Thumbnail(s)
   
Print this item

  My Background Image Is Not Appearing (Python Tkinter)
Posted by: HailyMary - Mar-14-2023, 11:49 AM - Forum: GUI - Replies (2)

Hello, Can someone help me in Fixing the code below? I need to put image which is school.jpg as a background image in my Python GUI using Tkinter but ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Need help with
Posted by: hrp2030 - Mar-13-2023, 11:59 PM - Forum: General Coding Help - Replies (1)

Need help. trying to set below parameters with code listed below but throwing error. can you help me what is the correct syntax for condition listed b..... More

Print this item

  working with TLV module Object
Posted by: Jennifer_Jone - Mar-13-2023, 09:07 PM - Forum: General Coding Help - Replies (3)

Hello ,

I'm a python junior developer and I have a task to accomplish. I have a QR code which is made of TLV value encoded in base 64.

I have ..... More

Print this item

  Porting tests from R to Python (almost there)
Posted by: Alfalfa - Mar-13-2023, 06:33 PM - Forum: Data Science - Replies (1)

I'm porting some R scripts to Python. More specifically, Levene, Shapiro-Wilk, ANOVA, Kruskal-Wallis, Tukey HSD and Wilcoxon Rank Sum Test.

Most is d..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LOST OF INVESTMENT SCAM 4 minutes ago goodvicent goodvicent News and Disc...
  [Tkinter] Too much space ... 3 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575833
  Tutorial Requ... 497140
  Web Scraping ... 439839
  Newbie with P... 383547
  New Users Int... 365493
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+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
goodvicent Today
XenonBlack Yesterday
tobey12 Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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