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,295
» Latest member: Moltar1997
» Forum threads: 38,795
» Forum posts: 175,885

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 29 Guest(s)
Google, Applebot, Bing

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Moltar1997
28 minutes ago
» Replies: 0
» Views: 7
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
5 hours ago
» Replies: 1
» Views: 34
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Today, 02:50 AM
» Replies: 6
» Views: 209
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 106
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 75
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,512
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 167
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 78
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,130
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,316

 
  using threading.Timer for function
Posted by: korenron - Dec-20-2022, 08:41 AM - Forum: General Coding Help - Replies (1)

Hello,
I have a simple function that I want it to run every 1 min
the function check internet connection - ping to google (8.8.8.8)

this is all the..... More

Print this item

  What is the difference between list and tuples in Python?
Posted by: priya1717 - Dec-20-2022, 05:09 AM - Forum: News and Discussions - Replies (1)

What is the difference between list and tuples in Python?

Print this item

  Request Dependency warning
Posted by: thetechnodino - Dec-20-2022, 02:12 AM - Forum: General Coding Help - No Replies

The python script runs correctly but gives the error shown below.

Windows 11 Pycharm PyCharm 2022.3 (Community Edition)
Build #PC-223.7571.203, bu..... More


Attached Files

Thumbnail(s)
   
Print this item

  (Python) Pulling data from UA Google Analytics with more than 100k rows into csv.
Posted by: Stockers - Dec-19-2022, 11:11 PM - Forum: General Coding Help - No Replies

(Python) Pulling data from UA Google Analytics with more than 100k rows into csv. Works fine for 57k

[python]import pandas as pd
from apiclient.di..... More

Print this item

  python requests library .JSON() error
Posted by: mHosseinDS86 - Dec-19-2022, 07:17 PM - Forum: General Coding Help - Replies (6)

Can someone explain this? I'm trying to use python requests library, its attributes and methods. while using .JSON()
method I get this error. How sho..... More

Print this item

Photo How to select NULL and blank values from MySQL table into csv
Posted by: python300 - Dec-19-2022, 07:03 PM - Forum: General Coding Help - Replies (9)

Hi all,

I am trying to select specific columns from a MySQL table into csv.
This table can have NULL or blank values and I want to differentiate ..... More


Attached Files

Thumbnail(s)
   
Print this item

Smile AI is getting better in a fast pace,with Images to show
Posted by: snippsat - Dec-19-2022, 06:53 PM - Forum: News and Discussions - Replies (2)

So a little about AI and the result that is getting a lot better.
Can show some images that i have generated with OpenAI[url=https://python-forum.io/thread-39007.html]..... More

Print this item

  passing dictionary to the function
Posted by: mark588 - Dec-19-2022, 06:20 PM - Forum: General Coding Help - Replies (2)

I have got a dictionary of multiple npy files together and I want pass this dictionary as a parameter to get a comparison score.
I am not sure how to..... More

Print this item

  I am new to python and Could someone please explain how this below code is working?
Posted by: kartheekdas - Dec-19-2022, 03:36 PM - Forum: General Coding Help - Replies (2)

a=True
try:
    assert a and not print("sucess"),"failure"
except Exception as e:
    print("e is",e)
Output is [inline]Sucess[/..... More

Print this item

  Multiple.ui windows showing at the same time when I only want to show at a time
Posted by: eyavuz21 - Dec-19-2022, 11:28 AM - Forum: General Coding Help - Replies (4)

Hey all,

I have the following code below.

I am trying to show take the user through an experiment, where the experiment is split into [b]differ..... More

Print this item

  Trying to add data into a shelf from a submit button
Posted by: TWB - Dec-18-2022, 07:02 PM - Forum: GUI - Replies (8)

I am new to Python and trying to run a small program that takes a input from a text field and submit it into a shelf.
The code runs with no errors bu..... More

Print this item

Question Sqlite3 how to know when cursor.execute didn't return anything ?
Posted by: SpongeB0B - Dec-18-2022, 05:44 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have an INNER JOIN command in my python

for exemple
[python]
curso..... More

Print this item

  Class help
Posted by: txrx - Dec-18-2022, 04:56 PM - Forum: General Coding Help - Replies (5)

Can anyone help with the code below. I was wondering whether the if statement should live within the class?. When I have tried this before I can't see..... More

Print this item

  Trying to send file to printer with no results.
Posted by: chob_thomas - Dec-18-2022, 04:40 PM - Forum: General Coding Help - Replies (2)

I've tried about 5 different ways to make this work but the file just won't get sent to the printer.
I had been trying to output a png file to an Eps..... More

Print this item

  Create a function to store text fields and drop downs selection in KivyMD
Posted by: floxia - Dec-18-2022, 04:34 AM - Forum: GUI - No Replies

Hi there everyone! Smile

I have been scratching my head for some time now Wall as I am trying to figure out a way to bind the button wi..... More

Print this item

  [split] formula for validating monetary values?
Posted by: kakos_k9 - Dec-17-2022, 05:55 PM - Forum: General Coding Help - Replies (1)

Hello how are you? Could you show me what is the formula for validating monetary values? for example I enter: 1000
it converts to:
1,000.00
The poi..... More

Print this item

  tkinter menubar not showing on mac ventura
Posted by: taras - Dec-17-2022, 02:34 PM - Forum: GUI - Replies (1)

i bought a macbook air m2, ventura os 13.0.1, python 3.11. The tkinter menubar function does not produce the menubar line.
This is the code:

[pyth..... More

Print this item

  how can I test this interactive calculator using pytest
Posted by: medveeee - Dec-17-2022, 08:38 AM - Forum: Homework - Replies (4)

hi,

I have small interactive calculator.
could you please give me a hint how could test it using pytest?
I found e.g. this approach, but have no..... More

Print this item

  testing an open file
Posted by: Skaperen - Dec-17-2022, 02:06 AM - Forum: General Coding Help - Replies (7)

what kind of test can i apply (or what library should i look at) to be able to detect if a given open file is open for reading? it is passed as an a..... More

Print this item

  Opinion: how should my scripts cache web download files?
Posted by: stevendaprano - Dec-17-2022, 12:19 AM - Forum: General Coding Help - No Replies

I have a script that downloads files from the web. To be a good web citizen, I want to keep a local cache and only re-fetch from the internet if the c..... More

Print this item

  Review my code: convert a HTTP date header to a datetime object
Posted by: stevendaprano - Dec-17-2022, 12:03 AM - Forum: General Coding Help - Replies (1)

Please review my code. Is this the right thing to do?

I get a HTTP date stamp from a web response, and convert it into a datetime object:

[pytho..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 28 minutes ago Moltar1997 Moltar1997 General Codin...
  silent deployment Python ... 5 hours ago Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Today, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
Most views
  The best Prog... 579329
  Tutorial Requ... 512245
  Web Scraping ... 442208
  Newbie with P... 386318
  New Users Int... 380022
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Moltar1997 Today
arthurlouiss Today
LewisByday Today
Bummibaer Today
Elevyn Today

User Panel Messages

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