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,542
» Latest member: laszlotiszlavicz57
» Forum threads: 38,665
» Forum posts: 175,206

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 28 Guest(s)
Bing, Baidu, Google, Yandex

Latest Threads
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: duckredbeard
9 hours ago
» Replies: 2
» Views: 70
How to package code for d...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:26 PM
» Replies: 1
» Views: 62
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 08:52 AM
» Replies: 1
» Views: 62
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Yesterday, 07:45 AM
» Replies: 8
» Views: 55,257
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Yesterday, 07:35 AM
» Replies: 6
» Views: 695
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Yesterday, 07:31 AM
» Replies: 3
» Views: 1,194
While loop is terminating...
Forum: Homework
Last Post: walterliz
Yesterday, 07:29 AM
» Replies: 3
» Views: 426
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
Yesterday, 07:28 AM
» Replies: 3
» Views: 199
Unable to define function...
Forum: Homework
Last Post: walterliz
Yesterday, 07:26 AM
» Replies: 2
» Views: 66
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Jul-14-2025, 10:14 AM
» Replies: 6
» Views: 683

 
  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

  Getting "SSL client not supported by this Python installation" error
Posted by: prabirsarkar - Mar-13-2023, 05:01 PM - Forum: General Coding Help - No Replies

Hi,
I am using the SOAPpy module in my program which basically wants to create an incident ticket in ServiceNow using a Python web services client..... More

Print this item

Question Online calendar for booking.
Posted by: SpongeB0B - Mar-13-2023, 04:43 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi everyone,

I have a small website ( Flask powered ❤️).
I would like that peoples could see my a..... More

Print this item

Photo PySimpleGUI FilesBrowse enable event to update value in combo
Posted by: SamLiu - Mar-13-2023, 11:13 AM - Forum: GUI - Replies (2)

Hi All,

I wanted to update combo value dynamically, when browse file.The executed procedure as below:

1)click Browse button, select what you wan..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  gpiozero buttons stop wor... 9 hours ago duckredbeard duckredbeard General Codin...
  How to package code for d... Yesterday, 13:26 mayukun noisefloor General Codin...
  pip3 install certifi fail... Yesterday, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... Yesterday, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... Yesterday, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... Yesterday, 07:31 Nit_Picker walterliz Homework
  While loop is terminating... Yesterday, 07:29 jumpsworthnow walterliz Homework
  Custom Sorting List of Di... Yesterday, 07:28 aryasinner walterliz Homework
  Unable to define function... Yesterday, 07:26 gmonroe walterliz Homework
  RemoTe server operation w... 07-14, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering 07-14, 09:36 deanhystad deanhystad GUI
Most views
  The best Prog... 572691
  Tutorial Requ... 485737
  Web Scraping ... 437150
  Newbie with P... 380104
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6858
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
laszlotiszlavicz57 Today
winstoncarol7 Yesterday
melissareed Yesterday
Rolas Yesterday
mayukun Yesterday

User Panel Messages

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