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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,823

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: lary_p
1 hour ago
» Replies: 5
» Views: 138
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 83
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 222
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 347
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Nov-11-2025, 05:07 AM
» Replies: 5
» Views: 308
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 133
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,634
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 229
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 220
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,628

 
  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

  Bachelor Thesis
Posted by: iamaghost - Jun-18-2021, 09:00 PM - Forum: News and Discussions - Replies (2)

hey community,

I am finishing my bachelors this year. I am studying Maths to become a teacher.
Recently I started programming with python and my..... More

Print this item

  'import Path' do not understand how to use it
Posted by: tester_V - Jun-18-2021, 08:53 PM - Forum: General Coding Help - Replies (2)

Greetings!
You guys pointed me to this module - 'import Path' and I'm trying to understand how to use it.
Seached Google, found now simple examples,..... More

Print this item

  Pandas dictionary dataframe help
Posted by: michaelserra - Jun-18-2021, 08:00 PM - Forum: General Coding Help - Replies (4)

I am developing a little program that stores user credentials in a dictionary and transfer them in a Pandas dataframe. Since the credentials are store..... More

Print this item

  Change item value from 5 to good
Posted by: Clives - Jun-18-2021, 03:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Greetings,
I have spent ages searching javascript in Google, but couldn't find any pointers or examples.

I have a range of values returned in a Ta..... More

Print this item

  Why doesnt chunk generation work?
Posted by: LotosProgramer - Jun-18-2021, 01:13 PM - Forum: General Coding Help - Replies (1)

So basically I have been trying to get a terrain generator but the values are always the same on the top left corner. Any ideas why? Wall **wall*..... More


Attached Files

Thumbnail(s)
   
Print this item

  Need Help splitting a column into many columns
Posted by: cokicoki - Jun-18-2021, 12:30 PM - Forum: General Coding Help - No Replies

/////

Print this item

  Drawing in PySide
Posted by: Leo_Red - Jun-18-2021, 11:52 AM - Forum: GUI - Replies (3)

Hi, I am looking for an widget that can be used to draw on. I looked into the PySide documentation for hours, still didn't find anything. I checked ou..... More

Print this item

  [Solved] Trying to read specific lines from a file
Posted by: Laplace12 - Jun-18-2021, 11:51 AM - Forum: General Coding Help - Replies (7)

Hey,

I'm struggling with a simple code. I want to extract certain lines from data files. The data files have up to a 100 times datasets after each..... More

Print this item

  Web Scraping in Python
Posted by: cokicoki - Jun-17-2021, 11:26 PM - Forum: Web Scraping & Web Development - Replies (5)

Need some assistance on web scraping, the url is (https://m.imdb.com/name/nm1475594/filmotype/actor)

how can I parse the page to create a Pandas da..... More

Print this item

  Non Grade/School Help - PLEASE
Posted by: gbyrne12 - Jun-17-2021, 09:29 PM - Forum: Homework - Replies (8)

Hello, stuck on a few issues for 3 problems for a online do it yourself course. Code and Comments from instructor attached. Any help greatly appreciat..... More


Attached Files

.pdf   Problem 1-3 HELP.pdf (Size: 129.2 KB / Downloads: 453)
.docx   Problem 1-3 HELP.docx (Size: 15.83 KB / Downloads: 432)
Print this item

  random from python dictionary
Posted by: rwahdan - Jun-17-2021, 07:45 PM - Forum: General Coding Help - Replies (2)

I have a dictionary and I need to select 3 items randomly (the key and value).

[python]

items = {

'HP Laptop Charger':125,
'Wireless..... More

Print this item

  HTTP 404 error with Session Pool
Posted by: Clives - Jun-17-2021, 06:45 PM - Forum: Web Scraping & Web Development - No Replies

Greetings,

The connection works with just a single user connection, but I get a HTTP 404 error, when creating a Session Pool connection??

I used..... More

Print this item

  Where is the memory leak in this Flask Code?
Posted by: Morkus - Jun-17-2021, 05:16 PM - Forum: General Coding Help - Replies (1)

I'm having an issue where every time I run a method in a Flask service, the memory grows. Not sure why.

This looks to be the problem method:

[py..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 1 hour ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... 11-11, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578902
  Tutorial Requ... 510083
  Web Scraping ... 441933
  Newbie with P... 385947
  New Users Int... 376628
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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