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: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 30 Guest(s)
Bing, AOL, Google, AOL, Facebook Dev, Mojeek, Bona2000

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
10 hours ago
» Replies: 2
» Views: 342
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,364
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,765
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 733
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 982
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,042
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,084
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 655
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,638
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,857

 
  Python3 requests.models.Response
Posted by: ogautier - Feb-17-2022, 04:12 AM - Forum: General Coding Help - Replies (4)

Hello, I'm trying to get information from every individual tag key like symbol, pair, markPrice, IndexPice, bid and so on. Does anybody can help me to..... More

Print this item

  why my list changes to a string as I move to another window in tkinter?
Posted by: pymn - Feb-17-2022, 04:11 AM - Forum: GUI - Replies (4)

Hello, I am learning how to work around moving in pages in tkinter. I asked a question a few days ago about that here: https://python-forum.io/thread-..... More

Print this item

  I want to run this loop but it skips all the condition
Posted by: vensilver - Feb-17-2022, 03:38 AM - Forum: General Coding Help - Replies (5)

I want to run this loop but it skips all the conditions and always runs n==1.
At the start of the code, I want it to run n==0 and get the data from t..... More

Print this item

  resetting an iterator to full
Posted by: Skaperen - Feb-17-2022, 01:32 AM - Forum: General Coding Help - Replies (7)

if you iterate a list twice, the 2nd time has all the data from the beginning. but what if you have a case where the data can be figured out as an it..... More

Print this item

  Rename part of filename in multiple files
Posted by: atomxkai - Feb-17-2022, 12:14 AM - Forum: General Coding Help - Replies (7)

Hello, I'm trying to replace part of a text in a filename for multiple files. But it is not working. Your help is greatly appreciated.

Example:

..... More

Print this item

  can someone test the code for me
Posted by: kucingkembar - Feb-16-2022, 07:42 PM - Forum: General Coding Help - Replies (4)

hi, I have this code;

[python]
try:
import translators
except:
import subprocess#for window 10
subprocess.call("pip in..... More

Print this item

  how to extract tiff images from the subfolder into. hocr format in another similar su
Posted by: JOE - Feb-16-2022, 06:28 PM - Forum: General Coding Help - No Replies

HI,
I am working on a project to OCR text from tiff images, the below code works fine on individual images, but I am looking for a solution where I c..... More

Print this item

  Max recursion depth.... Error
Posted by: MeloB - Feb-16-2022, 04:58 PM - Forum: General Coding Help - Replies (2)

Hi All,

brand new to Python so appreciate the help. I am trying to add a new column, which should be calculated as the mean of 'math score' grouped..... More


Attached Files

.csv   StudentsGrades.csv (Size: 791 bytes / Downloads: 310)
Print this item

  Errors when trying to disable tkinter checkbutton
Posted by: rrick_88 - Feb-16-2022, 02:42 PM - Forum: General Coding Help - Replies (7)

[python] Hello,

I am having an issue disabling a tkinter checkbutton. I am able to get the value, but when trying to disable it I keep getti..... More

Print this item

  user interface Button not working
Posted by: Frankduc - Feb-16-2022, 02:07 PM - Forum: General Coding Help - Replies (4)

Hello,

Cant understand why i get this error message. Anyone can give me an explaination?

[python]from tkinter import *

def inverser():
mot = st..... More

Print this item

  ConfigParser(dict_type=) not behaving as expected
Posted by: malonn - Feb-16-2022, 01:21 PM - Forum: General Coding Help - Replies (5)

I am using the configparser module. I am having trouble understanding the

ConfigParser(dict_type=)
method. My code:
[python]class ..... More

Print this item

  Real time database
Posted by: satyanarayana - Feb-16-2022, 07:41 AM - Forum: General Coding Help - Replies (3)

Hi friends,

I am new to python how to develop real time database to store data . For example like firebase database storage.

In python how can..... More

Print this item

  extract javascript links
Posted by: Larz60+ - Feb-16-2022, 02:56 AM - Forum: Web Scraping & Web Development - No Replies

Using selenium, I navigate to a results page which contains javascript links to additional results.
The html looks like:
[output]
<tbody><tr>..... More

Print this item

Sad Iterate randint() multiple times when calling a function
Posted by: Jake123 - Feb-15-2022, 10:38 PM - Forum: General Coding Help - Replies (2)

When I call the stars() function, it only iterates the randint() function once and not every time the while loop is ran. I am unsure on how to make it..... More

Print this item

  Post Python to HTML/CSS
Posted by: Extra - Feb-15-2022, 09:15 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I'm trying to build a GUI for a python script I have using HTML/CSS, and I'm wondering if it's possible to link python to my HTML page.
Fo..... More

Print this item

  kwargs question
Posted by: Jeff_t - Feb-15-2022, 07:25 PM - Forum: General Coding Help - Replies (8)

Hi, I am really new to python and wishing I had gotten into it a lot earlier than I did. I have advanced considerably with my learning and have been u..... More

Print this item

  Creating a GUI for Point Cloud visualisation
Posted by: khablt96 - Feb-15-2022, 04:41 PM - Forum: GUI - Replies (6)

Hello everyone, i need to create a interface for the visualisation the Point Cloud (PCD-Format), i tried with this code but it`s doesnt work.
Normall..... More

Print this item

  Loop through a list of string
Posted by: oldtrafford - Feb-15-2022, 01:34 PM - Forum: General Coding Help - Replies (3)

I have this code and i want to loop through the number of cases in the list "Cases". here i put an example with 3 elements in the list.
how can I para..... More

Print this item

  [solved] iteration + df.loc
Posted by: ju21878436312 - Feb-15-2022, 08:14 AM - Forum: General Coding Help - Replies (2)

I'd like to iterate through the lines by a for loop.
And when the condition "df['col2'] == "second"is true, I'd like to do some calculations in this..... More

Print this item

  permutations of varying length
Posted by: Skaperen - Feb-15-2022, 01:22 AM - Forum: News and Discussions - Replies (4)

i need to create permutations of N letters. but i also need all lengths in range(1,N+1), N just happens to also be the number of letters to be..... More

Print this item

  REST API x.509 authentication
Posted by: crossover - Feb-14-2022, 11:34 PM - Forum: General Coding Help - Replies (1)

Hi, new poster here! Been working with Excel, VBA and PowerQuery for a few years now and really wondered what's all the fuss about Python. I work a lo..... More

Print this item

  Exercise about Matplotlib
Posted by: Raselrameda - Feb-14-2022, 07:48 PM - Forum: Homework - Replies (2)

This is just an Exercise and I did it but I have some errors. I attached my file. Could you help me, please?

Write a Python program through the fol..... More


Attached Files

.py   Section 5 Matplotlib Exercise.py (Size: 1.64 KB / Downloads: 345)
Print this item

  Matplotlib multiple set_over / under
Posted by: G_rizzle - Feb-14-2022, 12:13 PM - Forum: General Coding Help - No Replies

Hey,

I'm plotting gradients of a surface. Most of them lay between 0 -1, but there are also a few from 1 - 700.

Right now im coloring gradients ..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to accumulate volume of time series
Posted by: amdi40 - Feb-14-2022, 11:10 AM - Forum: Data Science - Replies (3)

Hello, I am working with a time series containing rain. the data looks like

intensity
0.1
0.2
0.1
0.1
0.0
0.0
0.2

And I want to be able t..... More

Print this item

  how to add two numbers and pass the result to the next page in tkinter?
Posted by: pymn - Feb-14-2022, 02:11 AM - Forum: GUI - Replies (7)

I am new to tkinter. I want to add two numbers and pass the result to the second page. in my code, I don't understand why instead of adding the number..... More

Print this item

  Flow Control Help
Posted by: RoadToSensei - Feb-13-2022, 08:04 PM - Forum: General Coding Help - Replies (5)

I am having a hard time programming a Rock Paper Scissors Code:
[Python]
import random, sys
Wins = int()
Losses = int()
Ties = int()
print ('Let..... More

Print this item

  Cannot get pygame.JOYBUTTONDOWN to register
Posted by: dboxall123 - Feb-13-2022, 07:01 PM - Forum: Game Development - Replies (4)

Hello all,

I'm messing around with a usb joystick I got online, and I cannot seem to get pygame to register it. I have written the following, simpl..... More

Print this item

  Python code to read second line from CSV files and create a master CSV file
Posted by: sh1704 - Feb-13-2022, 05:52 PM - Forum: General Coding Help - Replies (1)

I have a folder lets say as 'input_Folder' which has a list of CSV files with data. I'm trying to write a python code which reads this list of CSV fil..... More

Print this item

  Can this run faster?
Posted by: duckredbeard - Feb-13-2022, 04:15 PM - Forum: Code Review - No Replies

I need help making this run faster. It takes about 7 seconds for the lights to respond when I open or close the door. I'm thinking lines 24-26 and ..... More

Print this item

  Convert string to int
Posted by: Frankduc - Feb-13-2022, 03:47 PM - Forum: General Coding Help - Replies (8)

Hello,

Trying to sum string numbers to int, but there is a ; between them.

[python]tab = input("Éntrez les nombres entiers séparés par des (;) :..... More

Print this item

  Pygame and tkinter
Posted by: seteg - Feb-13-2022, 01:28 PM - Forum: General Coding Help - Replies (1)

I keep getting the error message "AttributeError: type object 'Tk' has no attribute 'tk' when trying to start my program. I have tried to change lette..... More


Attached Files

.py   testing.py (Size: 3.41 KB / Downloads: 307)
Print this item

  What are some good books for learning NumPy and Pandas?
Posted by: Pnerd - Feb-13-2022, 01:02 PM - Forum: General Coding Help - Replies (1)

What are some good books for learning NumPy and Pandas after learning the basics of Python? And which one should I start learning first – NumPy or Pan..... More

Print this item

  ## Its part of my boot camp Task
Posted by: Raselrameda - Feb-13-2022, 08:55 AM - Forum: Homework - Replies (7)

Write a Python program through the following steps:
1. Create a list variable, names, which contains the names of three of your friends.
2. Create a..... More

Print this item

  Excel to Python
Posted by: AntonioCruz - Feb-12-2022, 10:52 PM - Forum: General Coding Help - Replies (2)

Good evening all

I'm brand new to Python and trying to use the following excel array formula
'=SUM(IF(SUMIF($A3:$H3,K1:M1),1))' and I dont know ho..... More

Print this item

  Can't get tkinter button to change color based on changes in data
Posted by: dford - Feb-12-2022, 10:06 PM - Forum: GUI - Replies (4)

I'm trying to get a "Save" button color to change color if any form data has been changed. I got this to work once before but misplaced my flash driv..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 10 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576135
  Tutorial Requ... 497699
  Web Scraping ... 440081
  Newbie with P... 383895
  New Users Int... 366443
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 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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