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,467
» Latest member: Aymen
» Forum threads: 38,568
» Forum posts: 174,769

Full Statistics

Online Users
There are currently 751 online users.
» 0 Member(s) | 742 Guest(s)
Bing, Facebook, Yandex, Google, Apple, Internet Archive, Mojeek, Baidu

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
4 hours ago
» Replies: 10
» Views: 519
[Python] Issue of Adding ...
Forum: General Coding Help
Last Post: Aymen
5 hours ago
» Replies: 0
» Views: 53
Review of a ping tool mad...
Forum: Code Review
Last Post: Axel_Erfurt
5 hours ago
» Replies: 1
» Views: 72
ModuleNotFoundError: No m...
Forum: General Coding Help
Last Post: Wimpy_Wellington
5 hours ago
» Replies: 3
» Views: 3,369
Monitor Computer Internal...
Forum: General Coding Help
Last Post: deanhystad
Today, 01:52 AM
» Replies: 3
» Views: 202
total Noob question: Why ...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:15 PM
» Replies: 5
» Views: 253
robocopy question
Forum: Bar
Last Post: Amilia
Yesterday, 03:07 PM
» Replies: 4
» Views: 1,776
Noob programmer - game of...
Forum: Homework
Last Post: russellbeckwith
Yesterday, 08:37 AM
» Replies: 4
» Views: 1,480
How to use isintance with...
Forum: General Coding Help
Last Post: buran
May-08-2025, 01:22 PM
» Replies: 3
» Views: 334
Gomoku game problem
Forum: General Coding Help
Last Post: snl_9527
May-08-2025, 12:10 AM
» Replies: 6
» Views: 541

 
Question [PyMuPDF] Grab all strings of a given size?
Posted by: Winfried - Dec-16-2023, 12:51 PM - Forum: General Coding Help - Replies (3)

Hello,

I need to loop through a bunch of PDFs, each containing one or more articles.

I notice titles can use different fonts, but all seem to ha..... More


Attached Files

Thumbnail(s)
   
Print this item

  mutable argument in function definition
Posted by: akbarza - Dec-15-2023, 10:54 AM - Forum: General Coding Help - Replies (1)

hi
the below code is in :
https://realpython.c[url=https://python-forum.io/thread-41300.html]..... More

Print this item

  Website ranking
Posted by: Benowen - Dec-15-2023, 05:17 AM - Forum: Bar - Replies (6)

Hello friends, I created a website six months ago but still did not get a good traffic to my website. I really want to rank my website on Google. Kind..... More

Print this item

  Expense Tracker Project
Posted by: dnviti - Dec-14-2023, 11:51 PM - Forum: Web Scraping & Web Development - No Replies

Hello!
I'm Daniele, 30 years old!
Seasoned dotnet developer, dropped working in the dotnet industry and then started studying python.

So after my lon..... More

Print this item

  Can anyone recommend me an ai?
Posted by: SuchUmami - Dec-14-2023, 11:48 PM - Forum: General Coding Help - Replies (1)

I want to scan some documents into an ai. These documents are too large for chatgpt. Is there an AI that works similarly to gpt but I am able to feed ..... More

Print this item

  Assigning conditional values in Pandas
Posted by: Scott - Dec-14-2023, 09:25 PM - Forum: Data Science - Replies (3)

Hi everyone,

I am playing around with some old code from online and am getting an error:

[python]for dataset in train_test_data:
dataset.lo..... More

Print this item

  Static type checking with PyPy
Posted by: pitosalas - Dec-14-2023, 08:39 PM - Forum: General Coding Help - Replies (1)

I am using type hints as an experiment to see the pros and cons. I am also using PyPy a an experiment with static type checking.

Here's an inconve..... More

Print this item

  Database connection problems [login, PyQt5, PySql]
Posted by: gradlon93 - Dec-14-2023, 07:41 PM - Forum: General Coding Help - Replies (5)

Hello Python community,

I'm working on a PyQt5 project and I'm experiencing an issue with a login dialog class that I'm struggling to resolve. Any ..... More

Print this item

  Why is bool(float("nan")) == True?
Posted by: EarthAndMoon - Dec-14-2023, 04:04 PM - Forum: Data Science - Replies (4)

Why is

bool(float("nan")) == True
?

Print this item

  problem with print lists
Posted by: MarekGwozdz - Dec-14-2023, 03:04 PM - Forum: General Coding Help - Replies (4)

>>> pprint(response.choices)
[output][Choice(finish_reason='length', index=0, message=ChatCompletionMessage(content='The time comple..... More

Print this item

  str.split() with separator grouping
Posted by: Skaperen - Dec-14-2023, 01:29 AM - Forum: News and Discussions - Replies (1)

if sep is not given when calling str.split(), it combines runs of white-space as a single separator. if sep is given, then each ..... More

Print this item

Information subprocess.Popen() suddenly giving me grief?
Posted by: davecotter - Dec-13-2023, 09:03 PM - Forum: General Coding Help - Replies (3)

[font=Courier New]C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>python3
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17)..... More


Attached Files

Thumbnail(s)
   
Print this item

  Can i draw more elements in a canvas?
Posted by: Yeti - Dec-13-2023, 12:03 PM - Forum: GUI - Replies (2)

Hi, i am new to tkinter. I want to know if there is a way to draw more elements into a canvas in tkinter. My goal is to display in a canvas a trajecto..... More

Print this item

  Do you think you can make it ?
Posted by: Mistyh - Dec-13-2023, 10:00 AM - Forum: Homework - No Replies

You will need to upload 3 files (the script, the requirement file and the csv output). The script for the projects will be named exclusively risky_ris..... More

Print this item

  file open "file not found error"
Posted by: shanoger - Dec-13-2023, 08:31 AM - Forum: General Coding Help - Replies (8)

hello all, i am having trouble reading a simple text file, using eclipse and tried pycharm as well, both throw the same "FileNotFoundError: [Errno 2] ..... More

Print this item

  motion tracking script ig?
Posted by: k4ne - Dec-13-2023, 02:00 AM - Forum: General Coding Help - No Replies

how can i automate this? the gray thingy goes up by pressing lmb
https://imgur.com/a/2i3gjvC

Print this item

  return none
Posted by: Raysz - Dec-13-2023, 01:08 AM - Forum: General Coding Help - Replies (7)

Hi everyone I have this small script here
which I'm sure a lot of you will probably recognize it
I modified it to look like this
and it works prett..... More

Print this item

  Remove some columns
Posted by: James_S - Dec-12-2023, 11:58 PM - Forum: General Coding Help - Replies (4)

Hi there,

I want to remove some columns keep only Age Sex BMI Region Charges and then display the new table.
Please help me because I cannot displ..... More

Print this item

  How to do this with Tkinter?
Posted by: emont - Dec-12-2023, 08:48 PM - Forum: GUI - Replies (9)

Hello,

I have a window created with Tkinter (see screenshot attached), but I am having issues after this one is created, specially with window.main..... More


Attached Files

Thumbnail(s)
   
Print this item

  Enigma Decoding Problem
Posted by: krisarmstrong - Dec-12-2023, 05:16 PM - Forum: General Coding Help - Replies (4)

I have been working on a Python application. It was initially coded in C++. I have the encoding working however the decoding is not producing the ex..... More

Print this item

  Script that alternates between 2 text messages
Posted by: DiscoMatic - Dec-12-2023, 02:52 PM - Forum: General Coding Help - Replies (1)

Hello,

I am completely new tho Python, but i would like to program a script that alternates between 2 text messages.

first is displays "Drive" a..... More

Print this item

  usage of ":"
Posted by: zeppos - Dec-12-2023, 08:38 AM - Forum: Homework - Replies (1)

Hi,

I have a question related to the : sign. I have students taking their first steps in Python. I noticed one of my students use ":" wrong. Howev..... More

Print this item

  Problems trying to position images with Tkinter
Posted by: emont - Dec-11-2023, 09:25 PM - Forum: GUI - Replies (3)

Hello,

I am trying to create this in Python with TKinter (see screenshot1), but when I try to position the foler_logo.png image, but always appears..... More


Attached Files

Thumbnail(s)
       
Print this item

  PySide6 - Connect to DBus signal - Correct syntax
Posted by: Drexel - Dec-11-2023, 08:14 PM - Forum: GUI - Replies (1)

Hello,

can you help me with the correct syntax to connect to a DBus signal?

This is one of my many tries which at least runs and matches the [ur..... More

Print this item

  Different Ways to Import Modules
Posted by: RockBlok - Dec-11-2023, 01:53 PM - Forum: General Coding Help - Replies (2)

Good morning,

I'm not entirely sure I understand the reason to use the asterix when importing modules, or what its significance might be, or why yo..... More

Print this item

  White edge
Posted by: sdgdfgg - Dec-11-2023, 12:34 PM - Forum: GUI - Replies (4)

clean Red line region please Heart
[Image: fd2f19dc0bedcac0b35657f266f94f37.jpeg]
[python]root = tk.Tk..... More


Attached Files

Thumbnail(s)
   
Print this item

  connection python and SQL
Posted by: dawid294 - Dec-11-2023, 09:28 AM - Forum: General Coding Help - Replies (4)

Hi python experts, Is possible to connect Python and SQL? In jupyter notebook or in Pycharm? Is possible start the code from SQL in Python? If Yes ho..... More

Print this item

  I am getting a valueError. And not sure why? My goal is to visualize the correlation
Posted by: ReadytoCode - Dec-11-2023, 05:33 AM - Forum: General Coding Help - No Replies

Hi all

I am just learning python. I am trying to visualize the correlation matrix of the S&P 500 stock data but I am getting a ValueError: could no..... More

Print this item

  I must be missing something simple?
Posted by: SLFrey - Dec-10-2023, 06:34 PM - Forum: General Coding Help - Replies (2)

To start - I am a novice at Python.
I have a created a "tool" I use for my work daily. It includes the ability to create Excel workbooks that I use f..... More

Print this item

Question Chain object that have parent child relation..
Posted by: SpongeB0B - Dec-10-2023, 05:02 PM - Forum: General Coding Help - Replies (10)

Hi everyone,

I have some data in a DB that have a parent properties

[code]
name|parent

John|Null
David|John
Grunt|David
Jade|John
[/cod..... More

Print this item

  Scraping a site
Posted by: Henry467 - Dec-10-2023, 11:26 AM - Forum: Web Scraping & Web Development - No Replies

Hi I'm a total python noob. Was looking for some help scraping this site, any help much appreciated.

https://vietfactory.com/

Print this item

  Searche each element of each tuple based 3 numbes
Posted by: zinho - Dec-09-2023, 11:29 PM - Forum: General Coding Help - Replies (8)

Hi.
I have combinations based list with tuple nested
How to find based 3 numbers of my choice if all this 3 numbes is inside of list of tups?

[p..... More

Print this item

  Sound Sensor With EMail Notification
Posted by: parascand - Dec-09-2023, 10:49 PM - Forum: General Coding Help - Replies (1)

I am trying to add a sound sensor to my raspberry pi so that when sound is detected it will email me with a notification. I figured out how to get th..... More

Print this item

  Python to VB
Posted by: nbrege - Dec-09-2023, 06:59 PM - Forum: General Coding Help - No Replies

Hello, this is my first post here. My apologies if this is posted in the wrong place. Are there any .Net programmers here?
I'm trying to convert a ..... More

Print this item

  Python Turtle. Pointers of the "arrow" direction of the vector.
Posted by: roomONmoon - Dec-09-2023, 05:47 PM - Forum: GUI - Replies (1)

Please tell me how to position the arrows in the direction of the vector?


[img]https://otvet.imgsmail.ru/download/244280916_5472eec8d5877641013c65d6..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 4 hours ago Blaubart Blaubart General Codin...
  [Python] Issue of Adding ... 5 hours ago Aymen Aymen General Codin...
  Review of a ping tool mad... 5 hours ago suburbanprojects Axel_Erfurt Code Review
  ModuleNotFoundError: No m... 5 hours ago Wimpy_Wellington Wimpy_Wellington General Codin...
  Monitor Computer Internal... Today, 01:52 EdMcCauley deanhystad General Codin...
  total Noob question: Why ... Yesterday, 18:15 MarkMan deanhystad General Codin...
  robocopy question Yesterday, 15:07 DPaul Amilia Bar
  Noob programmer - game of... Yesterday, 08:37 Dazzalac russellbeckwith Homework
  How to use isintance with... 05-08, 13:22 Azdaghost buran General Codin...
  Gomoku game problem 05-08, 00:10 snl_9527 snl_9527 General Codin...
  500 Internal Server error... 05-07, 17:04 ppowell777 Larz60+ Web Scraping ...
Most views
  The best Prog... 561366
  Tutorial Requ... 439830
  Web Scraping ... 426572
  Newbie with P... 358430
  Thread remain... 331508
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12046
buran 8168
snippsat 7324
deanhystad 6823
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Aymen Today
jijoh Today
evating619 Today
vinovasg Today
saramalilsa34343 Yesterday

User Panel Messages

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