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: WillieChier
» Forum threads: 38,824
» Forum posts: 176,028

Full Statistics

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

Latest Threads
federaxcvncv
Forum: General Coding Help
Last Post: WillieChier
30 minutes ago
» Replies: 0
» Views: 12
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 1
» Views: 70
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,594
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 185
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,602
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 156
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 300
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,113
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,965
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 181

 
  [split] Why is there an output of None
Posted by: akbarza - Nov-27-2023, 10:53 AM - Forum: General Coding Help - Replies (1)

hi
I have a small question, but I did not know if i must open a new thread for it or not, so I ask here:
in the below code :
[python]class Request..... More

Print this item

  random numbers, randint
Posted by: janeik - Nov-27-2023, 12:46 AM - Forum: General Coding Help - Replies (2)

hello.
I got what I want in excel but it fades away so I thought I shoul try Python to do following:
Read 4 random numbers one by one, into a b c ..... More

Print this item

  pip stops waiting for python
Posted by: walker - Nov-26-2023, 06:11 PM - Forum: General Coding Help - Replies (6)

Hello everyone,

My name is Ignazio and I have just joined the forum, I am a retired computer scientist and I have worked mainly on Unix systems pro..... More


Attached Files

Thumbnail(s)
   
Print this item

  Potential Pitfalls of Over-Reliance on SQLAlchemy
Posted by: codingismycraft - Nov-26-2023, 04:16 AM - Forum: News and Discussions - No Replies

Using SQLAlchemy, a widely-used SQL toolkit and Object-Relational Mapping (ORM) system in Python, may not always be the best choice for all scenarios...... More

Print this item

  Can't Find Python (or Something)
Posted by: pklind - Nov-26-2023, 02:23 AM - Forum: General Coding Help - Replies (2)

I've been trying to use Python for several days without success. So I am seeking support.

I am running MacOS Sonoma 14.1.1 on a new MacBook. I inst..... More

Print this item

Question Rsa Cipher
Posted by: Paragoon2 - Nov-26-2023, 12:41 AM - Forum: General Coding Help - Replies (3)

I need help modifying the code to work for size 10, block_size=10. For size 8, block_size=8 works correctly if I have block_size=8
I tried to chang..... More

Print this item

  Why is 2/3 not just .666 repeating?
Posted by: DocFro - Nov-25-2023, 10:09 PM - Forum: General Coding Help - Replies (4)

Hey I'm learning python now and was just learning formatting in my online class. When I ran the following code I got the following output. I thought 2..... More

Print this item

  error occuring in definition a class
Posted by: akbarza - Nov-25-2023, 08:04 AM - Forum: General Coding Help - Replies (3)

hi
the below code is in :https://python.coderz.ir/lessons/l17-[url=https://python-forum.io/thread-41190.html]..... More

Print this item

  module either imported by a command or itself run as a command
Posted by: Skaperen - Nov-24-2023, 11:55 PM - Forum: News and Discussions - Replies (2)

i have a module that sometimes i want to run as a command. the problem is that the script that is importing it could be used as a command. thus, the..... More

Print this item

  Comparing Dataframe to String?
Posted by: RockBlok - Nov-24-2023, 04:45 PM - Forum: General Coding Help - Replies (2)

I'm trying to learn how to use Pandas to manipulate csv's and excel files.

One thing I'm trying to do is read a list of colors from a csv list, the..... More

Print this item

Bug TypeError: 'NoneType' object is not subscriptable
Posted by: TheLummen - Nov-24-2023, 02:47 PM - Forum: General Coding Help - Replies (4)

[python]import re

def rearrange_name(name):
result = re.search(r"^([\w .]*), ([\w .])$", name)
return "{} {}".format(result[2], result[1]..... More

Print this item

  RSA Cipher with blocks
Posted by: Paragoon2 - Nov-24-2023, 01:38 PM - Forum: General Coding Help - No Replies

Hi, I really need help. I need to create encryption using block access after 10 characters and with lower_limit = 10 ** 11 and upper_limit = 10 ** 12,..... More

Print this item

  Quarantine
Posted by: DPaul - Nov-24-2023, 08:13 AM - Forum: Board - Replies (1)

Hi Board,
In Homework, there is a discussion about clustering.
Topic Starter has not provided code, so we're not supposed to post any either.
Now I..... More

Print this item

  Best framework for MySQL interaction and Tensorflow / TFLite inference?
Posted by: f_set89 - Nov-23-2023, 04:14 PM - Forum: Web Scraping & Web Development - No Replies

I want to build a web-based application that a few people would use to process images and test Tensorflow / Tensorflow Lite models. The backend will b..... More

Print this item

  Variable is not defined error when trying to use my custom function code
Posted by: fnafgamer239 - Nov-23-2023, 08:32 AM - Forum: General Coding Help - Replies (4)

Hi so I recently am transitioning from Snap! to python and im trying to recreate something I did in snap but I am having some problems.

[python]# C..... More

Print this item

  Scrolling in Python
Posted by: newpyt - Nov-22-2023, 11:43 PM - Forum: General Coding Help - Replies (6)

Hi I am new to python. Can anyone help me. I am writing a small program in which I need to scroll up or down in order to find a button and then it wil..... More

Print this item

  physical problem
Posted by: Sofiaphys - Nov-22-2023, 07:58 PM - Forum: General Coding Help - Replies (1)

I am currently writing a code that solves a system of 4 ODES and then uses the solutions to calculate some quantities (W1, W2) in the code, for differ..... More

Print this item

  Readability issues
Posted by: Mark17 - Nov-22-2023, 07:57 PM - Forum: General Coding Help - Replies (1)

What's the best way to separate out a line of code that runs past the right margin?

For example:

[code]
"""#practicepython.org exercise #12..... More

Print this item

  [split] [split] New to the forum, how to post a question?
Posted by: ssvaldo - Nov-22-2023, 03:58 PM - Forum: Board - Replies (1)

I would like to ask a question about the game. Is this the right place to post it?

Print this item

  Create sum clusters of a number sequence
Posted by: BramQBIC - Nov-22-2023, 01:54 PM - Forum: Homework - Replies (7)

Hi All,

I want to write a code for the following:

1. form clusters of adjacent digits whose sum is <= 8
2. The order of the numbers may not be ..... More

Print this item

  Beginner stuck in Python book for kids
Posted by: mic81k - Nov-22-2023, 10:03 AM - Forum: General Coding Help - Replies (11)

Hi,
100% beginner.
We bought this book called "Computer coding: Python Games for Kids".
It's supposed to teach Python in a simple and fun way.

..... More

Print this item

  Grades Code":
Posted by: Anthony - Nov-22-2023, 03:58 AM - Forum: Homework - Replies (14)

I'm new to Python and can't figure out what is wrong with this code?

[python]print("please enter your 5 marks below")

#read 5 inputs
mark1 = in..... More

Print this item

Question Sonar Code in Thonny for Pi Pico
Posted by: iansmiler - Nov-21-2023, 10:20 PM - Forum: General Coding Help - Replies (1)

Hello - I have written the code below which works well with my hardware. I want to use the 'distance' variable that I have set in 'def Ultra', outside..... More

Print this item

  Get file description
Posted by: Raysz - Nov-21-2023, 09:43 PM - Forum: General Coding Help - Replies (2)

[quote]
I have the small code here, as it stands right now it works perfectly

What I'm trying to do is to get it to stop looking at program = r'\c..... More

Print this item

  Prime number detector
Posted by: Mark17 - Nov-21-2023, 07:41 PM - Forum: General Coding Help - Replies (5)

This is not printing what I expect so hopefully someone can point out what I'm not understanding.

[code]
for i in range(2,101): #prime number dete..... More

Print this item

  Energy optimization with pulp
Posted by: MartinRK80 - Nov-21-2023, 03:40 PM - Forum: Data Science - No Replies

I'm trying to create my first LP simulation but I have some problem with it.

This is my code:
[python]import pulp

# Define the optimization problem ..... More

Print this item

  Unexpected output
Posted by: Starter - Nov-21-2023, 12:45 PM - Forum: General Coding Help - Replies (2)

Hi all,
I am new to this forum and i am learning python coding. I tried to upload .CSV file from my computer with the following code but i am getting..... More

Print this item

  graphyview setdata() doesn't work after recieving a mount of data
Posted by: ugly_curry_garlic - Nov-21-2023, 12:13 PM - Forum: GUI - Replies (3)

Sorry about my bad English
I designed UI with UIdesigner, and I wrote four threads to handle the interface, serial port, calculation and draw..... More

Print this item

  problem in matching in regex
Posted by: akbarza - Nov-21-2023, 08:15 AM - Forum: General Coding Help - Replies (1)

hi
the below code was created by and copied from the site: regex101.com and I changed some of it:
[python]# This code is copied from 'regex101.com'..... More

Print this item

  Sigma not being passed and evaluated as tuple, despite a lot of debugging
Posted by: remiau2 - Nov-20-2023, 09:29 PM - Forum: Data Science - Replies (1)

Hi im getting this error:
[error]Traceback (most recent call last):
File "C:\Users\nitro-pc\AppData\Local\Packages\PythonSoftwareFoundation.Python..... More

Print this item

  KeyError while retrieving ESPN data
Posted by: john317ab - Nov-20-2023, 09:13 PM - Forum: General Coding Help - Replies (2)

I'm a novice to python3, but a former developer. I've installed python3 on my MacBook Pro and I've accessed ESPN Fantasy Football database via Termin..... More

Print this item

  timer strange ?
Posted by: trix - Nov-20-2023, 07:24 PM - Forum: General Coding Help - Replies (4)

hello,
i,am busy to adjust the code from a libary (micropython-stepper 1.0.3),
to do the things witch i want it to do (acc & decc).
no i see that the ..... More

Print this item

  Python, Salesforce and WordPress
Posted by: arthurk88 - Nov-20-2023, 04:33 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

My organization is interested in displaying real-time Salesforce data (graphs and charts) on our WordPress website for the public (no Salesf..... More

Print this item

  Div Class HTML selector in Python
Posted by: Artur - Nov-20-2023, 03:36 PM - Forum: Web Scraping & Web Development - Replies (1)

Dears ,

i'm an iniciante in python and i'm working in a project to find a selector in HTML website

I'm using this structure as per below howeve..... More


Attached Files

Thumbnail(s)
   

.txt   Error Python.txt (Size: 1.18 KB / Downloads: 205)
Print this item

Star My long text editor project
Posted by: Arielp2 - Nov-20-2023, 03:04 PM - Forum: Code sharing - No Replies

Hi guys,
I've been working on a text editor (when I was able to) for more than a year,
it's not completely finished but it is [..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  federaxcvncv 30 minutes ago WillieChier WillieChier General Codin...
  Opencv findContours Q 10 hours ago jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 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...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  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... 580417
  Tutorial Requ... 519600
  Web Scraping ... 442785
  Newbie with P... 386985
  New Users Int... 386562
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
WillieChier Today
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday

User Panel Messages

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