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

Full Statistics

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

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
39 minutes ago
» Replies: 27
» Views: 15,499
Shield Of Sparrows Epub D...
Forum: General Coding Help
Last Post: atlerpitto4955
43 minutes ago
» Replies: 0
» Views: 11
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 122
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 199
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,615
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 170
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 324
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,126
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,984

 
  IndexError: list index out of range
Posted by: Laplace12 - Jun-22-2021, 10:12 AM - Forum: General Coding Help - Replies (1)

Working with a data file to simplify it - my aim is to get the stuff in the file in columns, and I've started with splitting and printing only the nec..... More

Print this item

  Newbie Turtle if/then coordinates Problem
Posted by: Brent - Jun-22-2021, 08:32 AM - Forum: Game Development - Replies (1)

I'm new to Python & I'm making a Pong-style hockey game and have a problem with the (goal scoring OR puck bouncing) coordinates. When I code the follo..... More

Print this item

  reading remote active log file?
Posted by: korenron - Jun-22-2021, 08:25 AM - Forum: News and Discussions - Replies (3)

Hello ,
I want to be able to read a remote log file that run all the time
can I do this?
I have acess to the server , and can run the python app on ..... More

Print this item

  Class Instance
Posted by: angus1964 - Jun-22-2021, 07:54 AM - Forum: General Coding Help - Replies (4)

I have the code attached below. When I run it, after inputting names etc, once you enter first score i get the following error.

[quote]Traceback (m..... More

Print this item

  empty row in pandas dataframe
Posted by: rwahdan - Jun-22-2021, 07:22 AM - Forum: Data Science - Replies (3)

Hi,

I have a data frame that need to add empty line at the end of that. I also see from examples that it show NaN but I don't want that, I need it ..... More

Print this item

  Help with Scipy optimize for numerical problem
Posted by: Jbjbjb1 - Jun-22-2021, 05:03 AM - Forum: Data Science - No Replies

Hi,
I'm looking for some help with using Scipy optimize numerically. My problem statement is here https://stackoverflow.com/questions/68075954/how-to..... More

Print this item

  import module with syntax error
Posted by: Skaperen - Jun-21-2021, 10:56 PM - Forum: General Coding Help - Replies (7)

i'm importing a module that may have errors in the source code. i tried to catch it like:
[python]
try:
import flaky
except ImportError:
..... More

Print this item

  Trying to pathlib instead of os.path
Posted by: tester_V - Jun-21-2021, 09:06 PM - Forum: General Coding Help - Replies (4)

Greetings!
I'm having a hard time justifying why I would use pathlib libraries instead of os.path. Undecided
It is not intuitive and I have a ..... More

Print this item

  python seems to be skipping lines of code
Posted by: alansandbucket - Jun-21-2021, 08:49 PM - Forum: General Coding Help - Replies (1)

Hello! i wrote tetris in python using pygame the other day and am having a strange problem. There is a section of code that does not seem to run. here..... More

Print this item

  Problem with bash shell needed for my python project
Posted by: Larz60+ - Jun-21-2021, 06:56 PM - Forum: Bar - Replies (4)

Forgive me, There is no python in the following, though there will be (part of my next project).

Since I am so familiar with this forum, I thought ..... More

Print this item

  Running Miniconda on a Linux-Box: adding the vscode and Spyder to the whole system
Posted by: apollo - Jun-21-2021, 03:59 PM - Forum: Bar - Replies (2)

good day dear community,

Running Miniconda on a Linux-Box: adding the vscode and Spyder to the whole system

i have done lots of setups - for e..... More

Print this item

  REST API send_file decode64?
Posted by: korenron - Jun-21-2021, 01:47 PM - Forum: General Coding Help - No Replies

Hello ,
I have created a RESTAPI server using Flask that send me a file by request
[python]
ZipLocation = '/home/pi/logs/Data.zip'
return send_fi..... More

Print this item

  [solved] unexpected character after line continuation character
Posted by: paul18fr - Jun-21-2021, 01:10 PM - Forum: General Coding Help - Replies (4)

Hi

To higlight reading by adding comments, I'm looking for a way to split function arguments into several lines; nevertheless using backslash I'm f..... More

Print this item

  and or or surprise
Posted by: hakelm - Jun-21-2021, 12:52 PM - Forum: General Coding Help - Replies (3)

Trying to teach my grandchildren (and myself) python I slide into surprises all the time. The last one:
[python]>>> x=3
>>> y=5
>>> x and y
5
>>>..... More

Print this item

  pyreadstat write_sav inefficient
Posted by: mikisDeWitte - Jun-21-2021, 08:30 AM - Forum: General Coding Help - Replies (2)

Hello,

My colleagues work mostly in SPSS, so for their sake i export my dataframes to SPSS using the pyreadstat module (installed via conda, versio..... More

Print this item

  how far has iteration been run so far?
Posted by: Skaperen - Jun-21-2021, 01:46 AM - Forum: General Coding Help - Replies (5)

given an iterable object (such as a list) that was used as the argument of iter() and the value returned from it, and subsequently used, is there a wa..... More

Print this item

  Placing a Placeholder in the entry box
Posted by: Nymphalys08 - Jun-20-2021, 07:51 PM - Forum: GUI - Replies (1)

Hi,
My placeholder works now but the problem lies with calling it in the SQL statement.

Without the placeholder, my SQL is working fine because e..... More

Print this item

  sorting a list using unicodes acending order, no loops, no sort(), using recursion
Posted by: lrn2codee - Jun-20-2021, 06:43 PM - Forum: Homework - Replies (14)

I'm trying to write a function that sorts a list of ints and letters in acending order (sort using unicode (ord())), using recursion with no loops. I ..... More

Print this item

  While loop doesn't exit
Posted by: KenHorse - Jun-20-2021, 06:17 PM - Forum: General Coding Help - Replies (3)

[python]while indata != "%":
indata = ser.read()
print (indata)
Counter = Counter + 1
if Counter > 20:
sys.exit("Timed out waiting ..... More

Print this item

  get sender IP on UDP server?
Posted by: korenron - Jun-20-2021, 02:44 PM - Forum: General Coding Help - Replies (2)

Hello ,
I want to build my own syslog server
I have created a simple Udp server :
[python]
import logging
import socket

if __name__ == '__mai..... More

Print this item

  Help please: WHILE LOOPS with BOOLEAN LOGIC
Posted by: rbulmerstlouis - Jun-20-2021, 10:10 AM - Forum: General Coding Help - Replies (4)

Dear all
Why does this code not work when the correct combination of username and password are entered?

[python]username = input("Enter your Usern..... More

Print this item

  modify the html table to include data from tkinter labels
Posted by: rwahdan - Jun-20-2021, 09:04 AM - Forum: GUI - No Replies

Hi,

I have the following html tags inside the mail function in python and I need to fill the table with data from labels insides python GUI tkinter..... More

Print this item

  anticaptcha API (insistent error)
Posted by: babayaga - Jun-19-2021, 06:09 PM - Forum: Web Scraping & Web Development - No Replies

API is returning ERROR_TOKEN_EXPIRED to geetest captcha
but I filled in all the parameters correctly and the captcha is available to be solved :/

..... More

Print this item

  Button error
Posted by: Tyrel - Jun-19-2021, 03:36 PM - Forum: GUI - Replies (2)

Please help,

Why am I getting this error.

Main.py

[python]from tkinter import *
import tkinter as tk
import tkinter.font as tkFont
import ..... More

Print this item

  Split recording with Picamera
Posted by: EvanS1 - Jun-19-2021, 12:26 PM - Forum: General Coding Help - No Replies

Looking to achieve two things with a raspberry pi and pi cam but can't work out the best way to approach it.

I have the camera working using the re..... More

Print this item

  Scipy sparse setuptools issues
Posted by: Anldra12 - Jun-19-2021, 09:15 AM - Forum: General Coding Help - Replies (11)

check the histogram plot for the clustering doc and data set yet test pass but result is zero

The output test 100% but zero result
[error..... More

Print this item

  Numba nopython error
Posted by: Tyrel - Jun-19-2021, 08:53 AM - Forum: General Coding Help - Replies (5)

Good day,

Can someone help me please, I recently installed an ssd and reinstalled windows and python.

Before I got a new ssd for my laptop the s..... More

Print this item

  My first complex(ish) code .
Posted by: DUDDLEGOD - Jun-19-2021, 08:30 AM - Forum: Code Review - Replies (5)

My first code which is complex(ish).It is for quadratic equations. it may be a bit janky or bigger idk.It is made without any totorials so
thats why..... More

Print this item

  Geo dataset help
Posted by: aamanyire - Jun-19-2021, 06:39 AM - Forum: Data Science - Replies (2)

Hi guys am new to Machine Learning and i found a dataset that i wanted to try my skills on. Its a dataset that has geo coordinates and i have to plot ..... More


Attached Files

.xlsx   InterviewChallenge.xlsx (Size: 8.89 KB / Downloads: 2)
Print this item

  I attempted to make a rock paper scissors bot for homework
Posted by: Intellectual11 - Jun-19-2021, 03:33 AM - Forum: Homework - Replies (3)

For a homework assignment, I'm making a rock paper scissors bot that plays against you. However it has one particular bug. Here is the code in its ent..... More

Print this item

  send email smtp
Posted by: rwahdan - Jun-19-2021, 12:54 AM - Forum: General Coding Help - No Replies

I am trying to send email from python using smtp and yahoo. is there special settings like gmail in yahoo?

[python]
import smtplib
from email.mim..... More

Print this item

  compare entry with value inside file
Posted by: rwahdan - Jun-18-2021, 09:40 PM - Forum: GUI - Replies (1)

Hi,

I have a tkinter entry and I will get a number from user as string since I am using entry. Then I am checking a file entry that has a number wh..... More

Print this item

  pip.exe not signed ?
Posted by: hmaster - Jun-18-2021, 09:32 PM - Forum: General Coding Help - No Replies

Hello,

Question, is there a reason why python.exe is digitally signed, but pip.exe is not ?

I assumed Python would also digitally sign all their..... More

Print this item

  python calculator only using decomposing functions
Posted by: kirt6405 - Jun-18-2021, 09:27 PM - Forum: General Coding Help - Replies (1)

the problem I am having is that when user inputs / and second number as 0 it keeps going in loop i need to exit the loop but dont know where to put th..... More

Print this item

  Attribute Error received not understood (Please Help)
Posted by: crocolicious - Jun-18-2021, 09:13 PM - Forum: General Coding Help - Replies (5)

Hello Community,

I’m having trouble understanding why the following query fails. I’ve run this in the editor a few times but it’s still not clicki..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 39 minutes ago Pavel_47 Biks General Codin...
  Shield Of Sparrows Epub D... 43 minutes ago atlerpitto4955 atlerpitto4955 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...
  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...
Most views
  The best Prog... 580443
  Tutorial Requ... 519759
  Web Scraping ... 442789
  Newbie with P... 386996
  New Users Int... 386655
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
atlerpitto4955 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