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,589
» Latest member: ChiaraJakub800
» Forum threads: 38,665
» Forum posts: 175,228

Full Statistics

Online Users
There are currently 234 online users.
» 1 Member(s) | 226 Guest(s)
Bing, Google, Yandex, Apple, Mojeek, Pedroski55

Latest Threads
multiplication table
Forum: Bar
Last Post: Skaperen
2 hours ago
» Replies: 3
» Views: 1,297
How to add Permanent Sign...
Forum: Board
Last Post: ChiaraJakub800
2 hours ago
» Replies: 6
» Views: 144
veri kazıma
Forum: Web Scraping & Web Development
Last Post: fehmikonkur
Jul-21-2025, 08:49 PM
» Replies: 9
» Views: 290
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: Jmathew1
Jul-21-2025, 06:20 AM
» Replies: 4
» Views: 6,475
Post Body (for "Forum Usa...
Forum: Board
Last Post: hihi
Jul-20-2025, 06:17 AM
» Replies: 0
» Views: 82
None collapsing Tuple at ...
Forum: Code Review
Last Post: hihi
Jul-20-2025, 05:21 AM
» Replies: 0
» Views: 103
Label & OptionMenu widget...
Forum: GUI
Last Post: slate
Jul-20-2025, 02:21 AM
» Replies: 2
» Views: 185
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
Jul-19-2025, 10:55 AM
» Replies: 2
» Views: 194
ASCII-Codec in Python3 [S...
Forum: General Coding Help
Last Post: Gribouillis
Jul-19-2025, 08:53 AM
» Replies: 6
» Views: 10,597
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
Jul-18-2025, 07:09 PM
» Replies: 2
» Views: 431

 
  how to avoid deprecation notice
Posted by: merrittr - Nov-27-2023, 05:34 PM - Forum: General Coding Help - Replies (5)

Just wondering if there is a switch to stop a deprecation notice like the one below?


(env) [root@RHEL8-20230921 pyeztest]# ./jnprtest.py
/home/s..... More

Print this item

  Error with output
Posted by: djprasanna - Nov-27-2023, 02:25 PM - Forum: General Coding Help - Replies (1)

I have the following code, throwing the error: can some help out with the executable code for the same
[python]
import numpy as np
import matplotli..... More

Print this item

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  multiplication table 2 hours ago Skaperen Skaperen Bar
  How to add Permanent Sign... 2 hours ago vmars316 ChiaraJakub800 Board
  veri kazıma 07-21, 20:49 fehmikonkur fehmikonkur Web Scraping ...
  Can I develop a live vide... 07-21, 06:20 mtrkhan Jmathew1 Web Scraping ...
  Post Body (for "Forum Usa... 07-20, 06:17 hihi hihi Board
  None collapsing Tuple at ... 07-20, 05:21 hihi hihi Code Review
  [Tkinter] Label & OptionM... 07-20, 02:21 slate slate GUI
  Code stoped working 07-19, 10:55 OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 07-19, 08:53 AlphaInc Gribouillis General Codin...
  How scan all ips from mai... 07-18, 19:09 ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... 07-18, 15:10 duckredbeard deanhystad General Codin...
Most views
  The best Prog... 572805
  Tutorial Requ... 485905
  Web Scraping ... 437265
  Newbie with P... 380297
  Thread remain... 351450
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12071
buran 8175
snippsat 7350
deanhystad 6862
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ChiaraJakub800 Yesterday
melraassina88 Yesterday
wasimkptw Yesterday
cathrineskiles Yesterday
Martin12 Yesterday

User Panel Messages

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