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,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 72 online users.
» 3 Member(s) | 63 Guest(s)
Apple, Bing, Google, AOL, AOL, kshahzad1985, Larz60+, snippsat

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
9 hours ago
» Replies: 1
» Views: 251
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Today, 04:48 AM
» Replies: 8
» Views: 396
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,594
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 967
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,315
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,856
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,638
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,737
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,921
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,469

 
  Pygame attribute error
Posted by: djwilson0495 - Feb-17-2021, 10:02 AM - Forum: Game Development - Replies (3)

I'm trying to get a pygame window with a grid of stars. Here's my code:

[python]
import sys

import pygame # contains functionality to make a ..... More

Print this item

  KafkaUtils module not found on spark 3 pyspark
Posted by: aupres - Feb-17-2021, 07:09 AM - Forum: General Coding Help - Replies (2)

I use hadoop 3.3.0 and spark 3.0.1-bin-hadoop3.2. And my python ide is eclipse version 2020-12. I try to develop python application with KafkaUtils py..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 9 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... Today, 04:48 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  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...
  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... 576607
  Tutorial Requ... 498627
  Web Scraping ... 440458
  Newbie with P... 384376
  New Users Int... 367642
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+ 12087
buran 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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