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,822

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 39 Guest(s)
Google, Bing, Facebook, Applebot

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

 
  SMTPSenderRefused: (530, b'5.7.0 Must issue a STARTTLS command first
Posted by: rhat398 - Jul-13-2021, 06:24 PM - Forum: General Coding Help - No Replies

I'm trying to creating the User Authentication API using FastAPI. My scope is when a new user gets registered via endpoint an email will be sent to ve..... More

Print this item

  TypeError
Posted by: woodcncwnc - Jul-13-2021, 02:08 PM - Forum: GUI - Replies (2)

I am learning Python, QT Designer and SQLite using a kindle book (Learn SQLite with Python
Building database-driven desktop projects), written by Viv..... More

Print this item

  string function doesn't work in script
Posted by: ClockPillow - Jul-13-2021, 01:40 PM - Forum: General Coding Help - Replies (3)

I don't know if this has been posted before, but when I run the string function in interactive, it works fine, but when it comes to script it doesn't ..... More

Print this item

  Combine 2 PDF pages into 1
Posted by: Cyberduke - Jul-13-2021, 10:13 AM - Forum: General Coding Help - Replies (7)

Hi, I am trying to take 2 PDF pages, and combine them into one. The reason is that I have a template and a technical drawing and would need to combine..... More

Print this item

  previous and next buttons
Posted by: rwahdan - Jul-13-2021, 09:39 AM - Forum: GUI - Replies (1)

Hi

I have a db and i got the data and put them in python lists so I can get the records places 0,1,2...
for the first record i am able to assign t..... More

Print this item

  using different frame for some widgets
Posted by: rwahdan - Jul-13-2021, 07:51 AM - Forum: GUI - Replies (1)

Hi,

I am trying to have some widgets in main frame and others in another frame:
[python]

available_exams.destroy()
exam_started = Topl..... More

Print this item

  Python Pandas: How do I sumproduct by rows with an if condition?
Posted by: JaneTan - Jul-13-2021, 01:38 AM - Forum: General Coding Help - Replies (2)

I am new to Python Pandas.

For each row, I want to do a sumproduct of certain columns only if column['2020'] !=0. I used the below code, but get er..... More

Print this item

  TI-84 Python
Posted by: metulburr - Jul-13-2021, 01:24 AM - Forum: News and Discussions - No Replies

Someone showed me this and thought it was neat enough to post here

https://preettheman.medium.com/the-new-t...python-971..... More

Print this item

  Regex not finding all unicode characters
Posted by: tantony - Jul-12-2021, 10:51 PM - Forum: General Coding Help - Replies (3)

I'm trying to parse a flight tracker web page. But when I try to get the values from the 'Course' tab, I'm only getting the ←,→ ,↓ ,↑. Its not readi..... More

Print this item

  On error - go to the next task
Posted by: stsxbel - Jul-12-2021, 09:04 PM - Forum: General Coding Help - Replies (2)

There is a code that interrogates the device via modbus, in the code several devices are interrogated. When the device is turned off, there is no data..... More

Print this item

  image inside button
Posted by: rwahdan - Jul-12-2021, 05:54 PM - Forum: GUI - Replies (4)

I am trying to add image inside a button. It is empty, I have the image in the exact location and no errors.

[python]
photo1 = PhotoImage(file..... More

Print this item

  Random Particle Simulation in Blender
Posted by: willm168 - Jul-12-2021, 05:13 PM - Forum: Data Science - Replies (3)

I am new to Blender/Python and am trying to create a random particle simulation inside of Blender. I used my code from my python script that worked an..... More

Print this item

  Photoshop extension for procedural textures generation
Posted by: psprocedural - Jul-12-2021, 03:13 PM - Forum: Bar - Replies (1)

Hello to all,

I am new to this forum, so I see things interesting here and hope you folks will give me some guide on what to do next with my develo..... More

Print this item

  I have an error and I do not know why
Posted by: rohes_kaugummi - Jul-12-2021, 03:05 PM - Forum: General Coding Help - Replies (4)

Hello,
i am trying to make a platformer game but every time I press a key the following error message:

File "D:\python project\pygametest\pygamet..... More

Print this item

  How to assigned value to each different binary in python...
Posted by: ZYSIA - Jul-12-2021, 09:05 AM - Forum: General Coding Help - Replies (2)

Hi,
this is my code for converting hex to binary
I converted 6EDAC

# conversion of hex string
# to binary string

import math

# Initialisin..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python “Formula” Package: How do I parse Excel formula with a range of cells?
Posted by: JaneTan - Jul-12-2021, 06:02 AM - Forum: General Coding Help - Replies (1)

Hi,

I have read the documentation of the "Formula" package at https://formulas.readthedocs.io/en/stabl...ng-formula but it doesn't exp..... More

Print this item

  sqlite3 update statement
Posted by: rwahdan - Jul-12-2021, 05:42 AM - Forum: GUI - Replies (1)

Hi,

I am trying to update 2 columns, one of which will take its value from a label "thetoken".

[python]
def assign_exam():
global thefulln..... More

Print this item

  source of python-wstools has two corrupt .gz files in Ubuntu Linux
Posted by: Skaperen - Jul-12-2021, 02:02 AM - Forum: News and Discussions - Replies (3)

Ubuntu Linux has a package named "python-wstools" that installed a number of files including two .gz files. the package in PyPI of the same name does..... More

Print this item

  Ho can I make it so the dirt goes up instad of diagonal
Posted by: izmamonke - Jul-11-2021, 06:48 PM - Forum: General Coding Help - Replies (3)

I finished this code so in line 53-65 display the numbers of the code of images, but when I try to run it nothing goes as planned.
how can I fix it?..... More

Print this item

  Programming a routing protocol
Posted by: leemao - Jul-11-2021, 06:36 PM - Forum: General Coding Help - Replies (2)

Hello,

I want to make a simple routing protocol similar to OSPF (or at least modify an existed one) in python. I found many protocols written in ot..... More

Print this item

  Hi need help for a course - complete beginner
Posted by: zach_s - Jul-11-2021, 02:20 PM - Forum: Homework - Replies (2)

Hi new to python and I need some help with one of my courses questions:
https://gyazo.com/7f963d31452efaa8906a3de2b08bbd80

I have this so far but ..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Making a copy list in a function
Posted by: RuyCab - Jul-11-2021, 02:00 PM - Forum: General Coding Help - Replies (1)

I'm getting a error in the function (make_great). I saw that we use [:] to pass a copy of the list to a function, but it's not working.
Does someone ..... More

Print this item

  MYSQL.CONNECTOR ERROR
Posted by: DB1 - Jul-11-2021, 11:43 AM - Forum: General Coding Help - Replies (8)

I am trying to connect MySQL(8.0.25) and python(3.9.6) using mysql.connector but getting error.
[error]mysql.connector.errors.ProgrammingError: 1045 ..... More

Print this item

  Make Groups with the List Elements
Posted by: quest - Jul-11-2021, 08:35 AM - Forum: General Coding Help - Replies (2)

Hello,

I have pairs list:

pairs=[[A,B],[C,D],[Z,X]]
And I have also a queue list which is includes:
[python]
queue =[A,B..... More

Print this item

  get all the files in the path in a list?
Posted by: korenron - Jul-11-2021, 07:45 AM - Forum: General Coding Help - Replies (23)

Hello ,
I forgot how to write a path so I will have a list of all my files insside?

example will do the job: :-)
right now I'm using this line..... More

Print this item

  variable prints without being declared.
Posted by: ClockPillow - Jul-11-2021, 12:03 AM - Forum: General Coding Help - Replies (2)

I'm a beginner new to this site and I don't know if this has been posted before, so please be patient with me.
This isn't an error in as much as I'm..... More

Print this item

  Defining path
Posted by: erdemath - Jul-10-2021, 11:56 PM - Forum: General Coding Help - Replies (2)

I have problem with defining paths to different folders to call different modules. To give an example,

folder1 > module1.py
folder2 > module2.py
..... More

Print this item

  UART Serial Read & Write to MP3 Player Doesn't Work
Posted by: bill_z - Jul-10-2021, 08:55 PM - Forum: General Coding Help - Replies (15)

Not only am I a beginner to Python3 but I’m a beginner to reading and writing via serial port on a Raspberry PI (dev/ttyS0). I’m trying to communicat..... More

Print this item

  Tuple to bytes
Posted by: JohnnyCoffee - Jul-10-2021, 05:15 PM - Forum: General Coding Help - Replies (4)

How can I convert a tuple to bytes ?

Print this item

  Using SoX in Python to Increase mp3 Bitrate
Posted by: DRT - Jul-10-2021, 04:37 PM - Forum: General Coding Help - Replies (1)

I am trying to increase the bitrate on an mp3 in an audio archiving program written in Python, that uses SoX.

Here's a portion of the code:

[pyt..... More

Print this item

  scraping video src fail
Posted by: jacklee26 - Jul-10-2021, 01:29 PM - Forum: General Coding Help - Replies (5)

HI I have a question related to HTML readers. I try to use selenium to scrap the video, but it seems not working. I just want to grab the src link. i ..... More

Print this item

  Adding an ascending number [SOLVED]
Posted by: AlphaInc - Jul-10-2021, 01:19 PM - Forum: General Coding Help - Replies (3)

Hello everybody,

I have a mail script written in python and now I want to add an ascending number in my script like this:

emailContent = "Text 1..... More

Print this item

  How to fetch database row values and display it in some labels
Posted by: Lalremruata - Jul-10-2021, 11:04 AM - Forum: News and Discussions - No Replies

I want to fetch database row values and display it in some labels based upon the selected value of combo box.

The combo box successfully display 'i..... More

Print this item

  script with 473 lines and 21595 bytes
Posted by: Skaperen - Jul-10-2021, 01:45 AM - Forum: Board - No Replies

people want to see source. is it OK to post the script if it has 473 lines and 21595 bytes or should i just post a URL to it?

Print this item

  Index List
Posted by: a04j - Jul-09-2021, 10:52 PM - Forum: Homework - Replies (2)

Write a function that returns a new list from the input list with a string xy inserted before the first 0, but only if this 0 is followed by other zer..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 7 hours ago sarbogast deanhystad General Codin...
  New to python and coding Yesterday, 12:09 lary_p jefsummers Homework
  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... 578881
  Tutorial Requ... 510024
  Web Scraping ... 441929
  Newbie with P... 385939
  New Users Int... 376531
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