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,276
» Latest member: eastnoob
» Forum threads: 38,790
» Forum posts: 175,865

Full Statistics

Online Users
There are currently 193 online users.
» 0 Member(s) | 190 Guest(s)
Bing, Google

Latest Threads
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
1 hour ago
» Replies: 0
» Views: 6
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
3 hours ago
» Replies: 11
» Views: 5,949
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
3 hours ago
» Replies: 2
» Views: 4,273
[BeautifulSoup] A few que...
Forum: Web Scraping & Web Development
Last Post: Winfried
6 hours ago
» Replies: 0
» Views: 30
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:34 PM
» Replies: 3
» Views: 256
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 120
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 193
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,104
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 229
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 161

 
  Trying to reply to an email instead of sending a new mail using python
Posted by: elenaflorence87 - Aug-10-2020, 02:46 PM - Forum: News and Discussions - No Replies

I want to reply to an email as a thread using python SMTP, I wrote the following code and that does not reply, instead it sends a new mail to the reci..... More

Print this item

  Creating a table in SQLite3
Posted by: djwilson0495 - Aug-10-2020, 01:53 PM - Forum: General Coding Help - Replies (2)

I'm attempting to use the following piece of code to create a table in an SQLite3 database

[python]
cursor.execute("""CREATE TABLE IF NOT EXISTS A..... More

Print this item

  Change name of variable
Posted by: samuelbachorik - Aug-10-2020, 12:47 PM - Forum: General Coding Help - Replies (2)

Hello dear users, i have function like this. In every loop of this for loop i need to change name of variable "self.labelLis" for examlpe to self.labe..... More

Print this item

  unable to use result of solver in another function
Posted by: ross1993hall - Aug-10-2020, 10:29 AM - Forum: General Coding Help - No Replies

Hi , I've used the sp.solveset function to calculate a variable.

so solveset gives me a value of 11.34.. for b . I then want to use b as 11.34.. in..... More

Print this item

  output correction using print() function
Posted by: afefDXCTN - Aug-10-2020, 09:39 AM - Forum: General Coding Help - Replies (3)

HI everyone , can you help me to solve this task please specially the first question for others

print(" *")
print("..... More

Print this item

  Dynamic modules and execution
Posted by: stratusmission - Aug-10-2020, 09:35 AM - Forum: General Coding Help - No Replies

Hello, first post, and sorry if the subject is a little vague!

Am new to coding in Python and probably running before I can walk.

I have written..... More

Print this item

  multiple number format conversion
Posted by: oli_action - Aug-10-2020, 07:43 AM - Forum: General Coding Help - Replies (4)

Hi everyone, please help! Below is a code I created for the conversion of decimal into binary. Now I want to expand the code so that the user can choo..... More

Print this item

  pythonscript for translation into Tkinter
Posted by: input - Aug-10-2020, 07:03 AM - Forum: GUI - Replies (3)

I would like to translate this pythonscript to Tkinter.
I got this python script from youtube and I searched for a similar Tkinterscript on the inter..... More

Print this item

  Iterate 2 large text files across lines and replace lines in second file
Posted by: medatib531 - Aug-10-2020, 06:45 AM - Forum: General Coding Help - Replies (13)

My problem is as follows:
suppose I have 2 huge (like 10GB) text files as follows:

file1:

ad
1a
2b
3c
...
[b]file2..... More

Print this item

  attribute error stumped on how to fix it.
Posted by: hank4eva - Aug-10-2020, 06:04 AM - Forum: General Coding Help - Replies (7)

Hi, Im trying to run some code but i get :
line 6, in <module>
for line in employees.splitlines():
AttributeError: '_io.TextIOWrapper' object h..... More

Print this item

  WXGade question/help pls
Posted by: gonzo01 - Aug-10-2020, 03:38 AM - Forum: GUI - Replies (3)

Beginer programmer

I've been playing with WXGlade for a few days now.

I've downloaded a couple of .pdf manuals which cover a lot but are not basic e..... More

Print this item

  Why do I keep getting this traceback? -- Stack Extract Error
Posted by: MattKahn13 - Aug-10-2020, 02:45 AM - Forum: Data Science - Replies (1)

Hey Guys,
I keep getting this error while using TensorFlow. I am not sure what is causing it. If anyone has any idea what is causing this, please let..... More

Print this item

  Need print out lines before and after the match
Posted by: tester_V - Aug-10-2020, 12:44 AM - Forum: General Coding Help - Replies (6)

Greeting!
I’m trying to print 4 lines before and after a “match” found in a line.
I do not understand how to do it with my current knowledge of Pyth..... More

Print this item

  print function help percentage and slash (multiple variables)
Posted by: leodavinci1990 - Aug-09-2020, 10:36 PM - Forum: General Coding Help - Replies (3)

What is the function of adding a back slash in the following code after the percentage operator? I am testing it without the slash and it gives the sa..... More

Print this item

  The count variable is giving me a hard time in this code
Posted by: D4isyy - Aug-09-2020, 06:50 PM - Forum: General Coding Help - Replies (2)

[python]from random import randrange

def toohigh():
# displays too high sequence
count += 1
return('Too high! Try again. ')
guess = input('..... More

Print this item

  Fatal python error, need help
Posted by: ryanmagid - Aug-09-2020, 05:51 PM - Forum: General Coding Help - No Replies

I try run any code in python in ms vs code. I always get this long message in the debug:
[error]
Microsoft Windows [Version 10.0.18363.959]
© 201..... More

Print this item

  Endless printing of a table
Posted by: djwilson0495 - Aug-09-2020, 04:25 PM - Forum: General Coding Help - Replies (2)

When I use the following code in python rather than giving me the table once it repeatedly prints it into the terminal rather than just printing once..... More

Print this item

  I don’t know how to start learning because I don’t know what my end goal is
Posted by: joossshhhh - Aug-09-2020, 04:05 PM - Forum: News and Discussions - Replies (4)

I want to learn python. I don’t know how to start learning because I don’t know what my end goal is. How do you start to create, anything? If I follow..... More

Print this item

  I want to multiply two variables, but I get an error
Posted by: LeqendFire - Aug-09-2020, 03:39 PM - Forum: General Coding Help - Replies (3)

I have two questions.

First: I want to multiply two variables, but I get an error. How can I solve it?
here is my Code:

..... More

Print this item

  00000
Posted by: Muppit - Aug-09-2020, 03:04 PM - Forum: Data Science - No Replies

00000

Print this item

  Trying to encrypt and decrypt password into a file
Posted by: rpizw - Aug-09-2020, 03:03 PM - Forum: General Coding Help - Replies (4)

Hi all,

I'm new to Python and probably I'm not going to be a good programmer. however, I have a use case that I try to complete:
I need a Python s..... More

Print this item

  Retry After Exception
Posted by: Harshil - Aug-09-2020, 01:24 PM - Forum: General Coding Help - Replies (2)

Hey! Friends I coded a program with a external module called tenacity
Problem: I want to retry After Exception
Here Is The Code:
[python]from tenac..... More

Print this item

  html, python, a simple form
Posted by: test - Aug-09-2020, 01:19 PM - Forum: General Coding Help - Replies (1)

hello guys, i am trying to make a html form which runs a python script when submitted. I do not know where i am making a mistake and have been stuck ..... More

Print this item

  Web Form to Python Script to Text File to zip file to web
Posted by: wfsteadman - Aug-09-2020, 11:24 AM - Forum: General Coding Help - Replies (1)

Greetings folks,
I might be over thinking my question but let me ask it and get feedback from experts.

I want to have a web form that has multip..... More

Print this item

  accessing a second level nested function
Posted by: varsh - Aug-09-2020, 11:04 AM - Forum: General Coding Help - Replies (3)

[python]
def html_tag( tag ):

def body( msg ):
print( "hi! :", msg )

def inn_body( msg1 ):
print( "hola: ", m..... More

Print this item

  I want to create an if-condition, but I'm not sure how to.
Posted by: LeqendFire - Aug-09-2020, 09:13 AM - Forum: General Coding Help - Replies (5)

I want to create an if-condition, but I'm not sure how to do it... I would like, that if the else-condition is true, it prints my message. How can I d..... More

Print this item

  If this and that "case insensitive"
Posted by: tester_V - Aug-09-2020, 05:29 AM - Forum: General Coding Help - Replies (5)

Hi,
I’m trying to ignore all lines that have word CMV in .csv file, problem is some of the lines have small case “cmv”. Basically I’m splitting my fi..... More

Print this item

  code with exception arguments doen't work
Posted by: MaartenRo - Aug-09-2020, 05:27 AM - Forum: General Coding Help - Replies (1)

Hi,

I am trying to write code with exception arguments. Somehow it doesn't work.
What am i doing wrong? Any input is much appreciated!

[python]..... More

Print this item

  My first Python program
Posted by: Herbert58 - Aug-08-2020, 10:22 PM - Forum: Code Review - Replies (2)

I´d appreciate some expert advice for this program - I´m a beginner in Python and suppose some things could be better! For example there must be a bet..... More

Print this item

  Help my software basic(file and def)
Posted by: dionatandiego11 - Aug-08-2020, 09:21 PM - Forum: Homework - Replies (1)

Hi brothers!

I made an application to help manage movies.

basically i have 2 problems.

First, whenever I start the program the "database" (fi..... More

Print this item

  Converting number to roman numerals
Posted by: jagasrik - Aug-08-2020, 08:54 PM - Forum: General Coding Help - Replies (6)

Hi i have been trying to convert number to roman numerals all day but no luck, i know there is a readily available codes on internet with different al..... More

Print this item

  How to convert a string "<... object at POINTER>" to an object?
Posted by: mandaxyz - Aug-08-2020, 06:59 PM - Forum: General Coding Help - Replies (5)

I want to convert a string "<... object at POINTER>" to an object.
Python version: 3.7.4

[python]
cl..... More

Print this item

  Defining multiple functions in the same def process
Posted by: sparkt - Aug-08-2020, 05:09 PM - Forum: General Coding Help - Replies (5)

I'm trying to define a function which would give multiple value outputs after some tedious calculation. Based on my current knowledge the best I can d..... More

Print this item

  Pip prints huge error when installing p5
Posted by: hayden2s - Aug-08-2020, 12:56 PM - Forum: General Coding Help - Replies (1)

I am trying to install the p5 library from PyPi using pip through windows cmd with python 3.8.5. However, it s..... More

Print this item

  how to run another function from main file
Posted by: Mekala - Aug-08-2020, 10:13 AM - Forum: General Coding Help - Replies (3)

Hi,
I have main.py & read_data.py and ready csv file and write. I want to call read_data.py and execute. Byt it giving error as below.

NameError: ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Implement Real-Tim... 1 hour ago ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 3 hours ago temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 3 hours ago Barber532 SledgeNE Game Developm...
  [BeautifulSoup] A few que... 6 hours ago Winfried Winfried Web Scraping ...
  Graph Interpolate Difficu... Yesterday, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
Most views
  The best Prog... 579160
  Tutorial Requ... 511721
  Web Scraping ... 442127
  Newbie with P... 386193
  New Users Int... 378917
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
eastnoob Yesterday
cruisesfares Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18
DataScientist071 11-18

User Panel Messages

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