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,938
» Latest member: atylerfraces2254
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

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

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,143
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 619
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,537
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 961
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,458
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,301
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,505
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,464
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,612
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,175

 
  vars() can't be used in list interpretation?
Posted by: Cheng - Jun-22-2021, 10:25 AM - Forum: General Coding Help - Replies (3)

P.S. I am not sure why this the interpreter in this site does not recognize vars()... however, it appears that the interpreter in W3Schools works just..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576422
  Tutorial Requ... 498233
  Web Scraping ... 440334
  Newbie with P... 384212
  New Users Int... 367251
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+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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