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,249
» Latest member: bmurray
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 36 Guest(s)
Applebot, Bing, AOL, Internet Archive

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
4 hours ago
» Replies: 4
» Views: 108
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 6
» Views: 178
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 311
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 279
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 109
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,624
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 212
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 191
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,275
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,425

 
  Infinite loop
Posted by: Danado - Aug-15-2021, 05:38 PM - Forum: Homework - Replies (4)

The program is for finding approximate values of an integral using the trapezoid method, but it is in an infinite loop. I couldn't find the error.
[..... More

Print this item

  redirect to page
Posted by: rwahdan - Aug-15-2021, 03:49 PM - Forum: Web Scraping & Web Development - Replies (1)

I have a site that has some free items to show and one link in the menu to show the paid items. When I click the link I want to be redirected to a pag..... More

Print this item

  How do you create common functions or classes
Posted by: a4ginatl - Aug-15-2021, 03:17 PM - Forum: Web Scraping & Web Development - Replies (1)

Having worked through tutorials and a few books, I have not found how this can be done especially in Flask. Being new to Flask and Python, I have a fe..... More

Print this item

  NameError: name 'Particle' is not defined in Pygame
Posted by: drunkenneo - Aug-15-2021, 06:17 AM - Forum: General Coding Help - Replies (4)

I have created a scenario for a bouncing ball

Firstly i have successfully created a class, and code was working wonders, later i tried to separate ..... More

Print this item

  A deciphering problem
Posted by: Truman - Aug-14-2021, 08:34 PM - Forum: Homework - Replies (25)

Break the following ciphertext, decrypting one line at a time because each
line has a different key. Remember to escape any quote characters:
qeFIP?eG..... More

Print this item

  Scraping a Flexible Element - works at first, and then crashes
Posted by: JonnyB - Aug-14-2021, 07:19 PM - Forum: General Coding Help - No Replies

[code]

import selenium
import os
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time

executable_path = ..... More

Print this item

  Need some help with Selenium
Posted by: WallieA - Aug-14-2021, 11:49 AM - Forum: Web Scraping & Web Development - Replies (6)

I have written the code below to scrape the data from the bet monitor.

When i run the code, i will get 18x the text: 'Today 13 Aug 20:00' . I would..... More

Print this item

  update values in one dataframe based on another dataframe - Pandas
Posted by: iliasb - Aug-14-2021, 10:03 AM - Forum: Data Science - Replies (2)

Hello everyone

I have a simple problem but for the life of me I can't find any straightforward answer on how to do it. So l have one dataframe with..... More

Print this item

  NEW TO PYTHON FROM SCRATCH! WISH ME LUCK!
Posted by: RZola - Aug-14-2021, 08:08 AM - Forum: News and Discussions - Replies (2)

Hello!
So I've taking an interest in learning Python, and wanted to know among the community what courses from any site that you seemed gave you a le..... More

Print this item

  Dropdown box showing weird entry
Posted by: cybertooth - Aug-14-2021, 07:47 AM - Forum: GUI - Replies (4)

Hi all.
I am working on a tkinter form. I have a dropdown combobox which is supposed to show the values from a MySql database. The problem is that it..... More

Print this item

Lightbulb NEED HELP NEW TO PYTHON!!
Posted by: RZola - Aug-14-2021, 06:01 AM - Forum: General Coding Help - Replies (6)

Hello! Im new to coding in python I always found coding interesting and wanted to take a dive in it and so far its been understandable but I have come..... More

Print this item

  How would I use Watchdog to get triggered when DVD is inserted?
Posted by: Daring_T - Aug-14-2021, 12:09 AM - Forum: General Coding Help - Replies (12)

I am making a DVD ripping script and I am trying to use the Watchdog Lib to trigger my main function. The problem is, I'm getting this error: [error]P..... More

Print this item

  How do you define and -put a value into a variable in Flask?
Posted by: a4ginatl - Aug-13-2021, 09:11 PM - Forum: Web Scraping & Web Development - Replies (10)

I am new to Flask and Python and have worked through a number of tutorials and then when starting n my own app, it crashed on the first line defining ..... More

Print this item

  running project from github
Posted by: rwahdan - Aug-13-2021, 03:43 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi

I downloaded a project from GitHub so I can learn more about Django. What are the steps that needs to be done to run the project?

Print this item

  MovieWriter ffmpeg unavailable; using Pillow instead.
Posted by: Joni_Engr - Aug-13-2021, 03:15 PM - Forum: General Coding Help - Replies (1)

Hi,

I get this error. How to fix this issue and which packages are required to install

"MovieWriter ffmpeg unavailable; using Pillow instead."

Print this item

  Change the varaible in For Loop
Posted by: quest - Aug-13-2021, 02:23 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a very simple problem:
I am trying to increase the i in for loop like that:
1 2
4 5
3 4
6 7
5 6
8 9
One step I am increasing the i with ..... More

Print this item

Thumbs Up [SOLVED] Find last occurence of pattern in text file?
Posted by: Winfried - Aug-13-2021, 02:03 PM - Forum: General Coding Help - Replies (4)

Hello,

In a multiline text file, I need to find the last occurence of a pattern, ie. the Python equivalent of "tail".

None of the following work..... More

Print this item

  coding help
Posted by: davidchilambo - Aug-13-2021, 01:52 PM - Forum: General Coding Help - Replies (4)

hello i am trying to parse the data saved in a csv file so that i can arrange them in column and rows, i have tried to create dataframe with pandas bu..... More

Print this item

  Solved button on threads
Posted by: jamesaarr - Aug-13-2021, 01:22 PM - Forum: Board - Replies (1)

Could we get a button for the person who posts a thread so they can mark it as solved, so that when we are viewing the posts we can see who needs help..... More

Print this item

  From python game in terminal to a website game using bottle
Posted by: Njanez - Aug-13-2021, 01:11 PM - Forum: Game Development - No Replies

Hello, I'm not sure this is the right place to ask, but I will give it a shot. I programmed a simple battleships game that you can play in the termina..... More


Attached Files

.py   test.py (Size: 7.32 KB / Downloads: 432)
Print this item

  Why use classes?
Posted by: metulburr - Aug-13-2021, 10:56 AM - Forum: Fundamentals - No Replies

This is a tutorial that uses an example of non class code and converts it to use classes. This is not meant to be an in depth conversation about class..... More

Print this item

  Make rectangle snap to other rectangle corners
Posted by: Pedroski55 - Aug-13-2021, 09:22 AM - Forum: Game Development - Replies (2)

I would like to make the moveable rectangle r0 snap to the other rectangle corners when I move it near them with the mouse.

That is, if say any cor..... More

Print this item

  ACK packets forged issues: “This frame is a (suspected) retransmission”
Posted by: None - Aug-13-2021, 09:06 AM - Forum: Networking - Replies (1)

I'm playing with scapy. I'm trying to forge JUST PSH/ACK and ACK packets in sequence
I coded two tools: A which sends PSH/ACK packets a..... More

Print this item

  Errors in serial data
Posted by: Joni_Engr - Aug-13-2021, 07:00 AM - Forum: Networking - Replies (4)

Hi,

I get errors in serial data in my python program but when I use PuTTY I get clean data without errors. I am not sure if I am writing the seria..... More

Print this item

  Summing up rows and columns
Posted by: plumberpy - Aug-13-2021, 04:56 AM - Forum: General Coding Help - Replies (3)

result = [[1, 2, 3, 4],
          [5, 6, 7, 8],
          [9, 10, 11, 12],
          [13, 14, 15, 16]]

qq = sum(result[3])
A..... More

Print this item

  Beginner question NameError
Posted by: amazing_python - Aug-13-2021, 03:16 AM - Forum: General Coding Help - Replies (6)

I i have this two lines:

name = input("Enter your name: ")
print("Hello " + name + "!")
Here is what I got:
[error]Enter your..... More

Print this item

  how to run a python script in the background on my wordpress website
Posted by: rockie12us - Aug-12-2021, 11:14 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi all
I have a python script I would that I would like to have running all the time in the background that looks at values in the wordpress website'..... More

Print this item

  Why is it not printing out
Posted by: dedesssse - Aug-12-2021, 04:50 PM - Forum: Game Development - No Replies

Im trying to make an own "collision" which you can first see in "world_Data" in the class world.coll. But the world data is not updating it and all th..... More

Print this item

  Loop with choose
Posted by: Irv1n - Aug-12-2021, 03:34 PM - Forum: General Coding Help - Replies (5)

Hello,
I have this script:
[python]
acw = [0.500, 0.750, 1.000, 1.500, 2.000, 3.000, 3.500, 4.000, 4.500, 5.000]
for rang in acw:
dmm.set_mod..... More

Print this item

  Problem with barPlot
Posted by: ghnunes - Aug-12-2021, 12:42 PM - Forum: General Coding Help - Replies (2)

Hello,

I need to plot this bar graph where the values ​​from one bar to the other are very close (we have a difference in the second to third decima..... More


Attached Files

.zip   graficos2.zip (Size: 162.92 KB / Downloads: 467)
Print this item

  Extracting Graphics From A Dos Game Job
Posted by: eddywinch82 - Aug-12-2021, 12:02 PM - Forum: Jobs - Replies (6)

Hi there,

I have a Coding Job I need doing, I would like to extract, External WWII Aircraft Graphics, from a DOS game called
Secret Weapons Of The..... More

Print this item

  doubt about python tkinter and sqlite3
Posted by: LONDER - Aug-12-2021, 11:18 AM - Forum: General Coding Help - Replies (2)

Hi
i'm trying to create a registration form with python tkinter sqlite3, but i have a problem, when i do the update of just one record record, all th..... More

Print this item

  Python API for Wordpress
Posted by: Simlock - Aug-12-2021, 10:26 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

I am asked to create a python API that would allow to interact with a Wordpress site and the WooCommerce plugin.

I can exchange with the ..... More

Print this item

  Why changing data in a copied list changes the original list?
Posted by: plumberpy - Aug-12-2021, 08:09 AM - Forum: General Coding Help - Replies (3)

[python]results=[[1,2,3,4,5],
[11,22,33,44,55],
[111,222,333,444,555]]

#results2=results.copy()
results2=results[:]
results2[..... More

Print this item

  Which is the best tennis racket for beginners?
Posted by: jikion - Aug-11-2021, 08:21 PM - Forum: Bar - Replies (3)

Hi Everyone! Can anyone recommend me best racket for beginners? I am just new to tennis so I don't have any experties about it. Waiting for your sugge..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 4 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 6 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 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...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578854
  Tutorial Requ... 509922
  Web Scraping ... 441923
  Newbie with P... 385927
  New Users Int... 376275
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 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday

User Panel Messages

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