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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,029

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Google, Mojeek

Latest Threads
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
1 hour ago
» Replies: 5
» Views: 7,133
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
3 hours ago
» Replies: 28
» Views: 15,541
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 128
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,603
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 206
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,621
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 179
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 330
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,989
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 199

 
  store arbitrary Python objects in an SQLite database in sqlite3
Posted by: pynerds - Apr-01-2024, 02:16 AM - Forum: Code sharing - No Replies

The SQLite database only allows basic types such as numbers, texts and blobs.

In order to make an SQLite support objects of a particular type, we ..... More

Print this item

  Multiprocessing on python
Posted by: sawtooth500 - Apr-01-2024, 01:31 AM - Forum: Data Science - Replies (12)

Hello!


So I've created a script that does the data crunching that I want it to do, mostly using numpy and pandas things - in summary depending on..... More

Print this item

  a chess endgame problem, almost solved but not quite
Posted by: max22 - Mar-31-2024, 06:14 PM - Forum: General Coding Help - No Replies

I'm trying to create a code for **perfectly optimal chess endgame**.
By that I mean that the loosing player tries to delay the checkmate as long as p..... More

Print this item

  os.popen problem
Posted by: thefrog - Mar-31-2024, 02:56 PM - Forum: General Coding Help - Replies (1)

I'm trying to work on os.popen
When I try to do an ipconfig command, it gives me an error alert
Any other command for example ping 8.8.8.8 works gre..... More


Attached Files

Thumbnail(s)
   
Print this item

  Printing out incidence values for Class Object
Posted by: SquderDragon - Mar-31-2024, 12:16 PM - Forum: General Coding Help - Replies (3)

Hello all,

new coder here.

I wanted to start by creating a character generation code. I created the following code:-

[python]import random
..... More

Print this item

  Mediapipe. Not picking up second variable
Posted by: stevolution2024 - Mar-31-2024, 11:35 AM - Forum: General Coding Help - Replies (1)

Hello all
I am trying to piece together some Python code to track 2 faces. All going OK so far, considering first effort and I have no idea what I ..... More

Print this item

  Using a script to open multiple shells?
Posted by: SuchUmami - Mar-31-2024, 11:08 AM - Forum: General Coding Help - Replies (9)

I have several scripts that must be run in a shell. Currently I open the shell and copy/paste the script location into the shell to run them. The prob..... More

Print this item

  Cesar Cipher
Posted by: ForsakenDusk - Mar-31-2024, 09:30 AM - Forum: General Coding Help - Replies (5)

Hello everyone,

I am currently doing procedural programming exercices, and there are a lot of extra outputs I want to understand before switching t..... More

Print this item

  Deleting Windows temp folder
Posted by: Raysz - Mar-30-2024, 06:29 PM - Forum: General Coding Help - Replies (7)

I'm hoping somebody here can help me figure this out

Basically what I'm trying to do is delete everything in the Windows 10 temp folder
if there i..... More

Print this item

  Issue with uninstalling Python that is driving me crazy
Posted by: traxus - Mar-30-2024, 04:37 PM - Forum: General Coding Help - No Replies

Hello,

I had python 3.10.10 and 3.11.1 installed to use to run ai programs like stable diffusion and comfy ui. I wanted to do a complete reinstall ..... More


Attached Files

.txt   logger.txt (Size: 58.57 KB / Downloads: 225)
Print this item

Question Frog codility leap sort variant
Posted by: MoreMoney - Mar-30-2024, 03:36 PM - Forum: Homework - Replies (5)

Frog codility leap sort variant

[python]input_str = input("Enter Frogs: ") # User types 5 1 3 4 2 <enter>. Do not type the zero.
frog_list = [0]..... More

Print this item

  PyYAML read list of int
Posted by: zisco - Mar-30-2024, 09:21 AM - Forum: General Coding Help - Replies (2)

I'm using a config.yaml and want to read a list of integers in "week":
[python]{'worksheet_name': 'March 2024',
'week': [12, 13],
'name': 'John D..... More

Print this item

  collections.Counter()
Posted by: pynerds - Mar-29-2024, 05:52 PM - Forum: Code sharing - No Replies

The Counter() in the collection[url=https://python-forum.io/thread-41863.html]..... More

Print this item

  OCR question
Posted by: DPaul - Mar-29-2024, 08:03 AM - Forum: Bar - No Replies

OCR with tesseract does a very good job, we know that.
I use it to process various types of documents, some of them are just lists of people.
About a ..... More

Print this item

  reading a file like the unix tail -f command does
Posted by: Skaperen - Mar-29-2024, 07:48 AM - Forum: News and Discussions - Replies (2)

i want to have my script read a file that another process may or may not have written more to that file extending its size. in unix, the "tail -f" co..... More

Print this item

  write code that resides in parent directory
Posted by: franklin97355 - Mar-29-2024, 12:03 AM - Forum: General Coding Help - Replies (3)

New to Python and have a question on usage. I am using Linux. I have a Python 3.11 program that reads, parses, and writes an ics file that works if it..... More

Print this item

  encrypt data in json file help
Posted by: jacksfrustration - Mar-28-2024, 05:05 PM - Forum: General Coding Help - Replies (1)

Hello
I am trying to perfect my password manager app and one of the features i want to add is encrypting the json file so that only the user of the p..... More

Print this item

Question Variable not defined even though it is
Posted by: CoderMerv - Mar-28-2024, 07:03 AM - Forum: General Coding Help - Replies (3)

Hi! Just started my coding journey and I am immediately running into an error. I am currently reading the book "Python Crash Course: A Hands-on, Proje..... More

Print this item

  m3u8 using build-in browser downloader?
Posted by: kucingkembar - Mar-27-2024, 10:50 PM - Forum: Web Scraping & Web Development - Replies (3)

My PC is blocked from a video streamer site,
previously I could do this:
using selenium to extract the m3u8 file, Then using FFmpeg to download and ..... More

Print this item

  Numeric Enigma Machine
Posted by: idev - Mar-27-2024, 09:43 PM - Forum: General Coding Help - Replies (9)

I have come across Lockheed Martin's problem from the 2018 CodeQuest, a numeric Enigma machine:

   


I am wondering what the best way ..... More

Print this item

Bug argparse io issue
Posted by: pyDream - Mar-27-2024, 02:41 PM - Forum: General Coding Help - Replies (8)

Hi all, I'm quite new to Python, so please forgive me if this issue can be fixed with the debugger. I don't know how to debug packages installed from ..... More

Print this item

  How to parse and group hierarchical list items from an unindented string in Python?
Posted by: ann23fr - Mar-27-2024, 01:16 PM - Forum: Homework - Replies (2)

Problem Statement

  1. Given an unindented string as input, perform these steps:

    - Identify the list items at the hi..... More

Print this item

  Django "Unexpected Keyword Argument 'min_value'"
Posted by: AstralWeeks - Mar-27-2024, 04:56 AM - Forum: General Coding Help - No Replies

Hi All,

I'm currently learning the basic methods of DjangoRESTFramework. It's the first time I've learned how to make and use an API. I'm just play..... More

Print this item

  Not getting forum emails
Posted by: sawtooth500 - Mar-27-2024, 02:45 AM - Forum: Board - Replies (3)

So for each new thread I post, I choose 'Subscribe and receive email notification of new replies' - however I never get an email on reply. I checked m..... More

Print this item

  Elegant way to apply each element of an array to a dataframe?
Posted by: sawtooth500 - Mar-27-2024, 02:42 AM - Forum: General Coding Help - Replies (7)

So Dean was previously kind enough to tell me about vector operations on dataframes instead of iterating through each row using loops and has made my ..... More

Print this item

  I don't know what is wrong (Python and SQL connection)
Posted by: shereen - Mar-27-2024, 01:15 AM - Forum: General Coding Help - Replies (3)

every time i get that error : Exception in Tkinter callback
[error]Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Programs..... More


Attached Files

.py   P1.py (Size: 15.99 KB / Downloads: 212)
Print this item

  tkinter logo
Posted by: menator01 - Mar-26-2024, 09:59 PM - Forum: Bar - Replies (3)

Does tkinter have a logo? I've searched and not found anything. Is it the word tkinter itself?

Print this item

  Stock clustering and portfolio diversification. Suitable features.
Posted by: timurkanaz - Mar-26-2024, 08:42 PM - Forum: Data Science - Replies (1)

Hi. I want to conduct a research. I want to cluster stocks and then make a safe diversified portfolio. I want to work with annual data. From price dat..... More

Print this item

Thumbs Up Sorting Steps
Posted by: MoreMoney - Mar-26-2024, 02:09 PM - Forum: General Coding Help - Replies (19)

I'm trying to make the output on the code
[python]input_str = input("Enter Frogs: ") # User types 5 1 3 4 2 <enter>. Do not type the zero.
frog_list..... More

Print this item

  Error (Errno 2), File upload with the Flask framework and a public IP
Posted by: Username_Python1 - Mar-26-2024, 11:48 AM - Forum: General Coding Help - No Replies

Hello everyone,

I would like to use the Flask framework to make a file upload over the internet. Locally over my home network and the localhost, th..... More

Print this item

  Compare current date on calendar with date format file name
Posted by: Fioravanti - Mar-25-2024, 08:40 PM - Forum: General Coding Help - Replies (1)

Good afternoon.

I'm new to the world of Python, I don't have any knowledge, but I have a challenge.

I have some images in a folder, where the na..... More

Print this item

  Help needed with img scraping script
Posted by: daajax - Mar-25-2024, 08:07 PM - Forum: Web Scraping & Web Development - Replies (1)

I am attempting to put together a lightweight script that will simply scrape a url for 1x1 images or transparent images and store the results and img ..... More

Print this item

  Can't load plugin: sqlalchemy.dialects:postgresql
Posted by: magomes - Mar-25-2024, 07:29 PM - Forum: Homework - Replies (3)

Can't load plugin: sqlalchemy.dialects:postgresql .......
This my code:

[python]import sqlalchemy as s
import psycopg2 as p

eng = s.engine.c..... More

Print this item

  Is CTkDesigner worth the price?
Posted by: Edward_ - Mar-25-2024, 04:41 PM - Forum: GUI - Replies (5)

Is anyone using the CTkDesigner GUI designer app?

Is it worth the $20 minimum price? No trial period.
..... More

Print this item

  If a set element has digits in the element
Posted by: tester_V - Mar-25-2024, 04:34 AM - Forum: General Coding Help - Replies (3)

Good evening!
I'm trying to find if an element of a set has a digit/digits as a part of an element.
I'm using ".isdigit" but it does not work...
I ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 1 hour ago Robots Ruth_Hernandez Networking
  Merge video with subtitle... 3 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580450
  Tutorial Requ... 519797
  Web Scraping ... 442790
  Newbie with P... 386998
  New Users Int... 386674
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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