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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

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

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 2
» Views: 141
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 2
» Views: 115
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,180
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,652
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 198
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,627
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 282
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,641
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 259
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 395

 
  Unable to execute input().
Posted by: jahuja73 - Feb-17-2021, 07:01 AM - Forum: General Coding Help - Replies (5)

Unable to run the below code.

[python]
# your code goes here
def get_input():
my_var = str(input('Enter "a" or "b": '))
if my_var == "a..... More

Print this item

  Seemingly unstable GPIO output while executing from RetroPie
Posted by: LouF - Feb-17-2021, 06:26 AM - Forum: General Coding Help - Replies (6)

I have Python code on a Raspberry Pi running RetroPie. It instructs a GPIO pin to supply a MOSFET transistor with a signal to turn on/off LED lights...... More

Print this item

  schemes to stop my script
Posted by: Skaperen - Feb-17-2021, 05:43 AM - Forum: News and Discussions - Replies (4)

i wrote a script to run ffmpeg to convert mp4 files to webm format to use less space on my my video disk and its two backups. webm uses vp9 which mak..... More

Print this item

  Adding a list to Python Emailing Script
Posted by: Cknutson575 - Feb-17-2021, 03:52 AM - Forum: General Coding Help - Replies (4)

Hi,

I'm having a bit of trouble getting information into an automatic email that I'm having python send for me.

To start I have selenium webscra..... More

Print this item

  Need to identify only files created today.
Posted by: tester_V - Feb-17-2021, 01:16 AM - Forum: General Coding Help - Replies (5)

Hi,
I need to copy a file if it was accessed/created today.
I could make a batch file for that but I want to use Python.
It is probably a combinati..... More

Print this item

  I am having trouble understanding homework.
Posted by: theyhateadam - Feb-17-2021, 01:09 AM - Forum: Homework - Replies (6)

Hello, I am currently stuck on a homework lab for zybooks and I am clueless as to what I am supposed to add to my code to make it work.
[u]Prompt:[/u..... More

Print this item

  passing an expression
Posted by: Skaperen - Feb-16-2021, 10:35 PM - Forum: News and Discussions - Replies (10)

i can code the expression in a string and pass that string to my function with evaluates it with eval() in the context it needs to do (perhaps by rais..... More

Print this item

  while movinig an object how do i keep it inbounds
Posted by: gr3yali3n - Feb-16-2021, 09:00 PM - Forum: GUI - Replies (7)

a few days ago i asked python fourms about appending to a list with this same object one person added a portion where the ship would stay in bounds , ..... More

Print this item

  Rename Multiple files in directory to remove special characters
Posted by: nyawadasi - Feb-16-2021, 05:18 PM - Forum: General Coding Help - Replies (9)

The purpose of the script below is to rename multiple folders in a directory. File is named 2324[folder 1], 3242343[Folder 2), 4343[folder 3]. The pur..... More

Print this item

  DIY Escape Room for fun
Posted by: StannemanPython - Feb-16-2021, 05:04 PM - Forum: General Coding Help - Replies (1)

I am currently working on a timer and pincode script which should determine whether someone is able to stop the timer in time by inserting the correct..... More

Print this item

  method to add entries in multi columns entry frames in self widget
Posted by: sudeshna24 - Feb-16-2021, 03:10 PM - Forum: GUI - Replies (2)

Hi, Smile
I am creating multi columns entry frames for a software. I had written code given below
[python]
def Batch(self):
se..... More

Print this item

  strip()
Posted by: pprod - Feb-16-2021, 10:43 AM - Forum: General Coding Help - Replies (8)

Hi,
Var1 is a list and I'd like to strip characters from each item in the list and save the result as a new list called Var2. I can't find a way to do..... More

Print this item

Photo I need help to understand a homework
Posted by: SantiagoPB - Feb-16-2021, 09:23 AM - Forum: Homework - Replies (2)

Hello everyone I am Santiago Big Grin ,

I have never used python as a programming language and my teacher has sent us a new assignment Huh..... More

Print this item

  Query on choosing Python 3.8.6 version
Posted by: sureshnagarajan - Feb-16-2021, 05:28 AM - Forum: News and Discussions - No Replies

Hi Team,

I am currently using python 3.5.0 and planning to upgrade to python 3.8.6.

Since 3.9 and 3.8.7 having some open issues related to M..... More

Print this item

  apendng to a list within a class
Posted by: gr3yali3n - Feb-15-2021, 11:20 PM - Forum: General Coding Help - Replies (4)

i am trying to understand classes how to create list within them and how to append to that list.
i guess i missed a basic understanding of appending s..... More

Print this item

  pyglet problem
Posted by: deansenecal - Feb-15-2021, 09:53 PM - Forum: General Coding Help - Replies (1)

New to python. I tried installing pyglet using pip. Would not work from cmd line but worked if I opened the cmd prompt and went to the dir in python..... More

Print this item

  numpy.linalg.LinAlgError: SVD did not converge When making ARIMA forecast
Posted by: jnans12 - Feb-15-2021, 08:04 PM - Forum: General Coding Help - Replies (1)

Why do I get numpy.linalg.LinAlgError: SVD did not converge error when I set my ARIMA model to ARIMA(3, 1, 3)? With other parameters it seems to work ..... More

Print this item

  Practical Use of Personal DB
Posted by: Tuxedo - Feb-15-2021, 05:36 PM - Forum: News and Discussions - Replies (3)

I love using software technology but want to do more than just 'play'. I'd like to engage in a database project but am short on ideas. Can anyone su..... More

Print this item

  Get HTTP Header ...
Posted by: JohnnyCoffee - Feb-15-2021, 01:51 PM - Forum: General Coding Help - Replies (2)

How do I capture HTTP request headers and access their values, which native module do I use and how do I do it ?

Print this item

  How to scrape and count star rating using Selenium and Python?
Posted by: celinafregoso99 - Feb-15-2021, 11:16 AM - Forum: General Coding Help - Replies (1)

I am currently trying to scrape the reviews on this particular website: https://protigwelders.com but am unable to figure out a way using selenium to ..... More

Print this item

  Password protected xls data transfer to master
Posted by: OTH - Feb-15-2021, 11:01 AM - Forum: General Coding Help - Replies (1)

Hi,

I am quite new to python and currently writing a code to speed up a VBA process which takes 5 to 6 hours to complete and want to speed it up. T..... More

Print this item

  Function to count words in a list up to and including Sam
Posted by: Oldman45 - Feb-15-2021, 09:20 AM - Forum: General Coding Help - Replies (15)

Good Morning
I am running Python 3.8.5 and trying to develop a function that counts the number of words in a list up to and including the word Sam. ..... More

Print this item

  Help with argument basics
Posted by: mickandralphscrier - Feb-14-2021, 11:56 PM - Forum: Homework - Replies (5)

Hi there,

so I'm helping a schoolmate with her python homework and it's a bit beyond me.

I have a list of different values (country, year, average t..... More

Print this item

  Inheritance
Posted by: Heyjoe - Feb-14-2021, 09:19 PM - Forum: GUI - Replies (1)

The following code was written primarily by Yoriz. I am trying to see how it words inorder to learn classes and Tkinter.

I know something about cl..... More

Print this item

  Way to avoid repetition?
Posted by: Tuxedo - Feb-14-2021, 08:16 PM - Forum: General Coding Help - Replies (5)

I'm playing around right now with sqlite and was wondering if there is some mechanism within Python to avoid repeated use of 'my_cursor' in the below ..... More

Print this item

  Requests module get() incomplete download
Posted by: bobzarm - Feb-14-2021, 04:41 PM - Forum: Web Scraping & Web Development - Replies (2)

With requests.get() the file downloaded is only 3/4 of the file I get by bringing up the page in Firefox and doing a "Save As". It lacks a data item t..... More

Print this item

  Python3 doesn't populate xlsx file with openpyxl
Posted by: Auldyin75 - Feb-14-2021, 03:53 PM - Forum: General Coding Help - Replies (2)

Hi,

Recently I acquired a raspberry pi 3 which my grandson got bored with and decided to make a simple weather station.
The goals are:
1. To conn..... More

Print this item

  [split] Accurate Clicks Per Second
Posted by: kathyalex - Feb-14-2021, 03:43 PM - Forum: Game Development - Replies (4)

First of all, thank you for the thread. I've made a click speed test game. Also, I have successfully added the timer just because of you. Now my quest..... More

Print this item

  PySpark Coding Challenge
Posted by: cpatte7372 - Feb-14-2021, 01:07 PM - Forum: General Coding Help - Replies (4)

Hello Community,

I have been presented with a challenge that I'm struggling with.

The challenge is as follows:
Write three Python functions, re..... More

Print this item

  Quiz Help
Posted by: NinjaCreeper358 - Feb-14-2021, 04:22 AM - Forum: Homework - Replies (4)

I am trying to make a Quiz About shapes that is random and i got the randomizer and the shapes but I have tried to make a quiz I Have done a-lot of re..... More

Print this item

  CPython ruuntime codes
Posted by: Skaperen - Feb-14-2021, 01:32 AM - Forum: News and Discussions - Replies (2)

is there a document that describes CPython's runtime codes? this would be the codes the compiler produces for the runtime interpreter to interpret. ..... More

Print this item

  Teaching myselft python. Question about testing myself
Posted by: metalmancellist - Feb-14-2021, 01:08 AM - Forum: News and Discussions - Replies (4)

Hi forums.

I'm working on teaching myself python3. I have been working through the tutorial on w3schools, and it's quite good.

My question is re..... More

Print this item

  Cannot 'break' from a "for" loop in a right place
Posted by: tester_V - Feb-14-2021, 01:03 AM - Forum: General Coding Help - Replies (9)

Hi,
I'm having a hard Cry time to 'break' from a 'for loop' in a right place.

I'm scanning a directory for the ZIP files.
And test them (f..... More

Print this item

  pipe(s) in = subprocess.Popen()
Posted by: Skaperen - Feb-13-2021, 11:48 PM - Forum: News and Discussions - No Replies

invoking subprocess.Popen(...,stdout=PIPE,stderr=PIPE) returns 2 pipes or 1 pipe or is not valid?

Print this item

  mpv window freeze before video end
Posted by: rfeyer - Feb-13-2021, 10:54 PM - Forum: General Coding Help - Replies (18)

Hi all,
mostly new to python, certainly new to tkinter and mpv!

wrote a little python/tkinter script to select recorded mkv's (from motion) which..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 8 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 8 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 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...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580481
  Tutorial Requ... 520072
  Web Scraping ... 442797
  Newbie with P... 387016
  New Users Int... 386811
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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