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,234
» Latest member: clayote
» Forum threads: 38,775
» Forum posts: 175,785

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 46 Guest(s)
Bing, Google, AOL

Latest Threads
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
35 minutes ago
» Replies: 2
» Views: 63
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 52
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 86
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 374,934
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,356
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,539
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 168
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,185
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,430
[SOLVED] Linefeed when wr...
Forum: General Coding Help
Last Post: buran
Nov-04-2025, 11:51 AM
» Replies: 5
» Views: 229

 
  How do I get pygame module to work in Spyder? (Mac)
Posted by: FirstBornAlbratross - Dec-16-2022, 07:41 PM - Forum: General Coding Help - Replies (18)

Hey everyone,

My question is how do I get the pygame module to work in Spyder?

pygame is already installed in this path:

/Library/Frameworks/..... More

Print this item

  Help gathering Temperature from API response
Posted by: road102 - Dec-16-2022, 07:34 PM - Forum: General Coding Help - Replies (5)

Hello

I want to extract the temperature from my solar panels but the format of the API response is giving me headaches !!

pi@raspberrypi:~ $ pyt..... More

Print this item

  Checkbox itens with a button to run action
Posted by: Woogmoog - Dec-16-2022, 05:53 PM - Forum: General Coding Help - Replies (3)

Hello there, I'm a noob on development but I do have some notion, so please be patient and bear with me.

I'm trying to learn python on my own and I c..... More

Print this item

  Help with python 'not subscriptable' error
Posted by: Extra - Dec-16-2022, 02:33 AM - Forum: General Coding Help - Replies (3)

Hello,

I have this chunk of code from my PyQt GUI that gets a result from a SQLite table and uses that result to do a math calculation.

Snippet:..... More

Print this item

  where to discuss potential suggestions
Posted by: Skaperen - Dec-15-2022, 07:00 PM - Forum: News and Discussions - No Replies

i have already been given places to post suggestions. but, i am interested in knowing of reasons why an idea would be a bad suggestion or bad idea, f..... More

Print this item

  Tkinter Web Scraping w/Multithreading Question....
Posted by: AaronCatolico1 - Dec-15-2022, 06:26 PM - Forum: General Coding Help - Replies (3)

I have a simple program in Tkinter that I'm using to scrape the age of various people from wikipedia just for webscraping practice.

I am able to sc..... More

Print this item

Lightbulb Help using Google Sheets
Posted by: matheuspimenta - Dec-15-2022, 05:36 PM - Forum: General Coding Help - No Replies

Guys, I would like help for something important from you.
I have a spreadsheet in Google Sheets, which I use for CRM, but the stages of the lead funn..... More

Print this item

Question Sections of the code causes the GUI to freeze. What should I do?
Posted by: Wilkk - Dec-15-2022, 05:10 PM - Forum: GUI - Replies (13)

Im kind of a beginner to coding. To be fair its my first coding besides college excercises but I've tried to write small program which purpose is to c..... More

Print this item

Thumbs Up Need to compare the Excel file name with a directory text file.
Posted by: veeran1991 - Dec-15-2022, 04:16 PM - Forum: General Coding Help - Replies (1)

*)Read the excel file and iterate through rows. The first column has "File Name"
*)Read the file name and check the PDF file with the same name avail..... More


Attached Files

Thumbnail(s)
   
Print this item

  PiCamera - print exceptions?
Posted by: korenron - Dec-15-2022, 12:03 PM - Forum: General Coding Help - Replies (2)

Hello ,
I'm trying to handle exception but it said

NameError: name 'Picamera' is not defined
what did I miss?

[python]

from..... More

Print this item

  Warnings Script
Posted by: CoPython - Dec-15-2022, 10:14 AM - Forum: GUI - Replies (3)

Hello,

I'm working on python to discover the 1 and other after a simple course. I have found a script that I have partly incorporated into my own f..... More

Print this item

  python resample by day and get weekstart data
Posted by: JaneTan - Dec-15-2022, 03:38 AM - Forum: General Coding Help - No Replies

I have monthly data. When I apply resampling by day and cubic interpolation, there is a function to find the month end data

[python]
import pandas..... More

Print this item

  'SSHClient' object is not callable
Posted by: 3lnyn0 - Dec-15-2022, 01:45 AM - Forum: General Coding Help - Replies (1)

Hi! Can anyone help me to fix the below error? Thanks!

[error] File "", line 12, in <module>
ssh_client(IP,port=22, username='admin', passwor..... More

Print this item

Lightbulb Using Tkinter With Concurrent.Futures / ThreadPoolExecutor Class
Posted by: AaronCatolico1 - Dec-14-2022, 03:01 PM - Forum: GUI - Replies (1)

I've been trying to combine the two, but the ThreadPool will not connect to the GUI. Is it even possible to connect the two together?

I am just usi..... More

Print this item

  Floor approximation problem in algorithm
Posted by: gradlon93 - Dec-14-2022, 12:33 PM - Forum: General Coding Help - Replies (3)

Good evening,

I hope someone will be able to help me with this very basic algorithm I'm working on, this is my first post so please apologise if I..... More

Print this item

  sending packet onto dummy network device but receiving echo
Posted by: sabuzaki - Dec-14-2022, 07:37 AM - Forum: Networking - Replies (2)

Hello,

I have created a dummy network device (command: ip link add mydevice type dummy). I'm sending and receiving packets there.
For some reason ..... More

Print this item

  For Loop: To see plot for different columns
Posted by: JaneTan - Dec-14-2022, 05:55 AM - Forum: General Coding Help - No Replies

Hi


Currently, I ran the below code in Spyder. And I only see the last plot (Age) in my "Plots" window. How can I see the plot for each column as ..... More

Print this item

  Resample from monthly to weekly works, but not vice versa
Posted by: JaneTan - Dec-14-2022, 12:58 AM - Forum: General Coding Help - No Replies

Hi

I have a function that works OK when I tried to re-sample from weekly to monthly data. But it doesn't work when I re-sample from monthly to week..... More

Print this item

  Lint and private var names
Posted by: PatM - Dec-14-2022, 12:31 AM - Forum: General Coding Help - Replies (1)

I've been using _ to start private variables but I've also just found tried out pylint and it complains that the private vars are not snake-case.

I..... More

Print this item

  Python Tkinter Simple Multithreading Question
Posted by: AaronCatolico1 - Dec-13-2022, 11:44 PM - Forum: General Coding Help - Replies (5)

I have a simple Listbox with a list of names that I would like to print concurrently, but also in the order of which they were added to the Listbox (a..... More

Print this item

  declaring object parameters with type
Posted by: JonWayn - Dec-13-2022, 07:28 PM - Forum: General Coding Help - Replies (2)

When I pass an object in as a parameter to a function, is there a way to specify in the function declaration what type the parameter is so that I can ..... More

Print this item

  luks partitiion
Posted by: arbiel - Dec-13-2022, 03:05 PM - Forum: General Coding Help - No Replies

Hi

I'm looking for a package to handle luks partitions.

Please, if there is one, tell me how to install it ?

Arbiel

Print this item

Question Help me modify this .txt into .csv with Python
Posted by: mgzz - Dec-13-2022, 02:42 PM - Forum: General Coding Help - Replies (1)

Im having A LOT of difficulty. I have an assignment which is to modify this file https://easyupload.io/axktqq through Python into CSV cp1252 (Excel) w..... More

Print this item

  comparing columns
Posted by: arvin - Dec-13-2022, 12:34 PM - Forum: General Coding Help - Replies (5)

I want to compare two columns.
If the values in column A is present in column B then the values should copy in column C with any special symbol in fr..... More

Print this item

  Reading Specific Rows In a CSV File
Posted by: finndude - Dec-13-2022, 10:26 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a CSV file which I have attached a link to a photo of it to look at. I want to be able to retrieve the data from specific rows, based on..... More

Print this item

  Extracting Data into Columns using pdfplumber
Posted by: arvin - Dec-13-2022, 06:35 AM - Forum: General Coding Help - Replies (17)

I have a pdf which has data in tabular format and has 6 columns but the columns are not separated by boundaries so when I extract the data using pdfpl..... More

Print this item

  Qcolor name pyside6
Posted by: PatM - Dec-13-2022, 03:08 AM - Forum: General Coding Help - Replies (2)

I have an error that works if I print but not if I try to use the value. I've tried everything I can think of but can't understand what is going wrong..... More

Print this item

  First python project
Posted by: PatM - Dec-13-2022, 12:09 AM - Forum: Code Review - Replies (2)

Ok my first completed Python/PySide6 program. Works fine but I would classify myself as a clumsy wannabe programmer at best so it's pretty ugly. I sti..... More

Print this item

  How to remove footer from PDF when extracting to text
Posted by: jh67 - Dec-12-2022, 04:25 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to take a footer out of a 550 page pdf and then extract everything left to a .txt file. The extraction is working but the footer is st..... More

Print this item

  remove partial duplicates from csv
Posted by: ledgreve - Dec-12-2022, 04:21 PM - Forum: General Coding Help - No Replies

Hello,

Firstly, I wish to mention and stress that I do not have a lot of experience with Python and programming in general.

[b]The situation:[..... More

Print this item

  Parsing CSVs...
Posted by: ChLenx79 - Dec-12-2022, 02:39 PM - Forum: General Coding Help - Replies (3)

Hi All,

hope you are all well!

Need a little nugde...

I have a CSV, within which a couple of lines look like this...

[font=Courier New]Com..... More

Print this item

  Please help me in regards to pyAutoGUI
Posted by: andrewtuk - Dec-12-2022, 01:24 PM - Forum: GUI - Replies (2)

Hi everyone

I am a newbie so bear with me, I watched a youtube video on how to install PYAutoGUI, I believe its installed it correctly but now I wa..... More

Print this item

  create new column based on condition
Posted by: arvin - Dec-12-2022, 11:32 AM - Forum: General Coding Help - Replies (12)

Hello
I want to create a new column that includes calculations based on existing columns.

[Image: gmg2jbM]

All rows have same ..... More

Print this item

  point of sale code problem
Posted by: dethnode - Dec-12-2022, 05:53 AM - Forum: Homework - Replies (3)

I am new to python and programming, but have enjoyed the semester learning what I have... However we were asked to follow a template and build a poin..... More

Print this item

  Prefs class: singleton or something else?
Posted by: PatM - Dec-12-2022, 04:52 AM - Forum: General Coding Help - Replies (7)

I've got a singleton class I'm using that works pretty well but I have several other classes (in different .py files) so I have to create it in every ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 35 minutes ago yutaozhou Gribouillis News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
  sorting a lisr of file pa... 11-04, 09:19 Skaperen DeaD_EyE News and Disc...
Most views
  The best Prog... 578642
  Tutorial Requ... 508934
  Web Scraping ... 441816
  Newbie with P... 385773
  New Users Int... 374934
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8192
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday
ironwolfan7Dip Yesterday
Accem_games Yesterday

User Panel Messages

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