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,952
» Latest member: Ronny
» Forum threads: 38,727
» Forum posts: 175,526

Full Statistics

Online Users
There are currently 64 online users.
» 0 Member(s) | 59 Guest(s)
Bing, Applebot, AOL

Latest Threads
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: Ronny
6 minutes ago
» Replies: 1
» Views: 135
adult chat rooms near you
Forum: General Coding Help
Last Post: snow_y
28 minutes ago
» Replies: 0
» Views: 6
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 5
» Views: 9,239
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 538
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 162
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 695
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,934
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,207
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,571
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,146

 
  working with pyttsx3
Posted by: gr3yali3n - Nov-24-2020, 09:40 AM - Forum: General Coding Help - No Replies

i have been messing around with text the speech module pyttsx3, I have two computers that I am working with, one is a mac and the other is a linux the..... More

Print this item

  Need urgent help
Posted by: OneTwo - Nov-24-2020, 07:24 AM - Forum: General Coding Help - Replies (9)

Hi,
How to take a word and put the letters into separate indexes of an array instead of putting the letters into 1 index?
Thanks

Print this item

  Python Machine Learning: For Data Extraction
Posted by: JaneTan - Nov-24-2020, 06:45 AM - Forum: Data Science - No Replies

Hi

I have many pdf files. Each file has many tables, and I want Python to be able to find the correct (eg Revenue) table and extract the correct da..... More

Print this item

  is there a single function to confine a number between two others?
Posted by: Skaperen - Nov-24-2020, 06:06 AM - Forum: General Coding Help - Replies (7)

is there a single function to confine a number between two others? i know i can do it with min() and max(), but that actually looks ugly. this shoul..... More

Print this item

  Help with my code! Pls and thank you its due soon
Posted by: shirleylam852 - Nov-24-2020, 04:33 AM - Forum: Homework - Replies (2)

My professor gave us a all-tweets.zip with 12 files but I couldn't import or open it correctly. It says 'not found' so I opened it individually but my..... More

Print this item

  why the position of the object is different?
Posted by: syafiq14 - Nov-24-2020, 01:51 AM - Forum: Game Development - Replies (1)

I tried changing the object's position with the center of get_rect () and I got a different result without using center and using center

My game sc..... More

Print this item

  Please help me. about self.expect()
Posted by: leeyoung - Nov-23-2020, 10:25 PM - Forum: General Coding Help - No Replies

this 2 line code
====
self.expect('Hit any key to stop autoboot:', timeout=timeout)
self.send("\n")

===================================..... More

Print this item

  Perfect numbers
Posted by: Vidar567 - Nov-23-2020, 09:50 PM - Forum: General Coding Help - Replies (2)

Gentlemans, do you have any suggestions why this code doesn't output proper values?

When I write end = 100 it outputs:
[6, 24, 28]

24 is not a ..... More

Print this item

Heart Urgent homework help needed
Posted by: Medou - Nov-23-2020, 09:46 PM - Forum: Homework - Replies (4)

Dear Python lovers,

I am in urgent need of some assistance. I am stuck with a seemingly simple task, just can't wrap my head around the slicing par..... More

Print this item

  tkinter designer
Posted by: horrorfodrasz - Nov-23-2020, 09:01 PM - Forum: Code sharing - Replies (3)

I made a simple Python Tkinter designer tool.
It is written in Python and you will get pure Python tkinter code. It uses tkinter Grid geometry manag..... More

Print this item

  Animating 2D object movement with matplotlib
Posted by: esamalihalil1993 - Nov-23-2020, 05:22 PM - Forum: Homework - No Replies

Hello there. I'm a super-fresh computer science student and I have been given the following task: I need to create an animation using matplotlib in py..... More

Print this item

  Yield generator weird output
Posted by: Vidar567 - Nov-23-2020, 03:01 PM - Forum: General Coding Help - Replies (8)

Hello,

I would like to create function primes(), but when I return values from the first loop function stops.
Instead of return I try using yield,..... More

Print this item

  Theme and Editor tips
Posted by: snippsat - Nov-23-2020, 02:56 PM - Forum: Board - No Replies

Choose Themes there is Light and Dark, New Theme for all[url=https://python-forum.io/thread-31102.html]..... More

Print this item

  I want to check if the input is str or is int & if it's str repeat the loop
Posted by: HLD202 - Nov-23-2020, 02:16 PM - Forum: General Coding Help - Replies (4)

I want to check if The input is 'str' or it's 'int' and if it's 'str' repeat the loop...
but i don't know how to check if the input was for example: d..... More

Print this item

  saving only one line of a figure as an image (python matplotlib)
Posted by: nitrochloric - Nov-23-2020, 01:41 PM - Forum: General Coding Help - No Replies

hello i have been trying to find a way to save a single line of my plot to save them one-by-one separately in the docs but i wasn't able to find anyth..... More

Print this item

  Quoridor game. Problem: inserting player positions and walls in a checkerboard
Posted by: Roidesflammes - Nov-23-2020, 12:57 PM - Forum: Homework - Replies (1)

Hello !

sorry for my bad English :(

In class we are designing a corridor, here is a link for those interested in the game to explain the rules t..... More

Print this item

  function giving different result with @functool.cache
Posted by: naughtysensei - Nov-23-2020, 12:18 PM - Forum: Homework - Replies (3)

I wrote this code to give first 'n' rows for pascal's triangle:
[python]
def pascal_re(..... More

Print this item

  HELP ME
Posted by: sabe - Nov-23-2020, 10:58 AM - Forum: Homework - Replies (2)

I wrote the code, but each digit with 3 digits could not reflect a different 4 permutation please help.

[python]
def comb(L):

for i ..... More

Print this item

  Problem 5
Posted by: nman52 - Nov-23-2020, 06:08 AM - Forum: Homework - Replies (6)

Hi everyone,

I'm having some issues with problem 5 on this site:
https://courses.cs.washington.edu/course...part1.html

So far, I..... More

Print this item

  Creating 2D Array
Posted by: jpinko - Nov-23-2020, 03:54 AM - Forum: Data Science - Replies (1)

Hi All,

My code is the following:
[python]
import numpy
import math
a = numpy.arange(1, 11)
b = numpy.arange(0, .02, .001)
v = []
for c in a..... More

Print this item

  Disable - Network adapters
Posted by: Maryan - Nov-23-2020, 02:01 AM - Forum: Networking - No Replies

Hi! I want to make a GUI application where I can 'Enable' or 'Disable' network adapters. Any way to bypass 'run as administrator'? or another solution..... More

Print this item

  Code
Posted by: Livi444 - Nov-23-2020, 12:16 AM - Forum: Homework - Replies (3)

def median(numbers):
"""Find the median of the given list of numbers.

How to find the median:
https://www.mathsisfun.com/median.html..... More

Print this item

  multiprocessing
Posted by: venividivici - Nov-22-2020, 09:40 PM - Forum: General Coding Help - No Replies

hi guys,

I'm new 2 python, im glad to see what is possible with Python! Also it is really easy to learn.

ok my question.
I am programming kind of a ..... More

Print this item

  Code question
Posted by: craigesmith - Nov-22-2020, 08:15 PM - Forum: General Coding Help - Replies (1)

Hello,

Is there a better way to write this piece of code? I'm looking for unique entries to append into a list.
[python]
l =[]

if mgr.get_obj..... More

Print this item

  del in for loop not deleting everything
Posted by: noswad - Nov-22-2020, 07:57 PM - Forum: General Coding Help - Replies (8)

My problem is that I want to use del in a for loop to delete everything in a list.

Code:
[python]users = ['a', 'b', 'c', 'd', 'e']

for user in ..... More

Print this item

  Greedy algorithms on logical problems
Posted by: Opensourcehacker - Nov-22-2020, 05:12 PM - Forum: General Coding Help - No Replies

Hello fellow python programmers,

I have the following problem:

I have got k gifts and k people. Every gift is denoted by [1..k] and every person..... More

Print this item

  function in new window (tkinter)
Posted by: Dale22 - Nov-22-2020, 03:14 PM - Forum: GUI - Replies (7)

Hi I'm new to python
I'm trying to create a widget that performs a calculation on clicking a button, only I want the function to open in a new window..... More

Print this item

Star --- Python lists and Linked Lists ---
Posted by: sabe - Nov-22-2020, 01:13 PM - Forum: General Coding Help - Replies (3)

topic was closed thanks.

Print this item

  basic question isinstance
Posted by: tames - Nov-22-2020, 12:44 PM - Forum: General Coding Help - Replies (5)

[python]
def sumtree(l):
tot = 0
for x in l:
if not isinstance(x, list):
tot += x
print(tot)
el..... More

Print this item

  need help
Posted by: Yui_18 - Nov-22-2020, 11:30 AM - Forum: General Coding Help - Replies (27)

I'm new to coding & scripting etc, can someone please tell me how to install this https://pypi.org/project/videocr/
I have installed latest python, t..... More

Print this item

  GEDCOM files
Posted by: DPaul - Nov-22-2020, 07:28 AM - Forum: Bar - Replies (3)

Anybody who has a keen intrest in the subject of genealogy,
uses one of the popular softwares like FTM, Gramps, ...etc.
The problem with these is, t..... More

Print this item

  os.path.join - errors out
Posted by: tester_V - Nov-22-2020, 07:15 AM - Forum: General Coding Help - Replies (4)

Hi,
I'm trying to use 'os.walk' to find all the subdirectories and files in the root dir.
In the first "for" loop, the code generates an error **c..... More

Print this item

Question Request for little help (for tree coding lines)
Posted by: new_one - Nov-21-2020, 11:43 PM - Forum: Homework - Replies (2)

Dear Python programmers,
I am a student of computer science, and am now applying for an online course in data science. In order to do this properly,..... More

Print this item

  Removing element from list
Posted by: squall - Nov-21-2020, 10:18 PM - Forum: General Coding Help - Replies (6)

Hello guys,

I'm new on the forum. The reason I'm here is that I do not know how to fix my problem and hopefully you can help me.
I want to delete ..... More

Print this item

  Self-taught programmers, suggestions please?
Posted by: jrr1990 - Nov-21-2020, 09:29 PM - Forum: News and Discussions - Replies (2)

Hello Everyone,
I'm new to python, and I'm trying to teach myself. I'm looking for some solid resources - BUT I'd rather not start anything from ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IBKR Purchasing code issu... 6 minutes ago compuman145 Ronny General Codin...
  adult chat rooms near you 28 minutes ago snow_y snow_y General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
Most views
  The best Prog... 576760
  Tutorial Requ... 499073
  Web Scraping ... 440557
  Newbie with P... 384524
  New Users Int... 368356
Most reputation
buran 581
snippsat 508
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+ 12088
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Ronny Today
Luciana Today
MatthewRodia Today
andydt Today
victorcrown Yesterday

User Panel Messages

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