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,936
» Latest member: bennyanderson482
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 31 Guest(s)
Applebot, Bing, Google, AOL, AOL, kshahzad1985

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
38 minutes ago
» Replies: 2
» Views: 66
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 3,085
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,502
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 517
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 778
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,879
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 872
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 456
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,420
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,632

 
  where indentation matters
Posted by: Skaperen - Feb-09-2022, 01:16 AM - Forum: Bar - Replies (6)

i was looking around at the files for my desktop settings. these are in XML format. i thought XML was free form where indentation did not matter. w..... More

Print this item

  where to host my python script
Posted by: tomtom - Feb-08-2022, 08:25 PM - Forum: General Coding Help - Replies (1)

please which hosting is best for hosting python file?

Print this item

Thumbs Up can't access data from URL in pandas/jupyter notebook
Posted by: aaanoushka - Feb-08-2022, 07:37 PM - Forum: Data Science - Replies (1)

Hi everyone

i'm new to python. I'm in training and i started using jupyter notebook on a project
I wanted to work with covid data. I took the raw..... More


Attached Files

Thumbnail(s)
           
Print this item

  Needing to Check Every Quarter Hour
Posted by: bill_z - Feb-08-2022, 04:30 PM - Forum: General Coding Help - Replies (10)

New guy here still struggling with time issues.

I'm trying to write a python3 program for my Raspberry PI 3 model B+ that will turn on a LED light ..... More

Print this item

  Loop
Posted by: oldtrafford - Feb-08-2022, 09:21 AM - Forum: General Coding Help - Replies (2)

Hello,
I'm trying to create a code for postprocessing some FEA results by using a Python script associated with Abaqus scripting.
my current code is..... More

Print this item

  Moving directories by filetype
Posted by: millpond - Feb-08-2022, 06:50 AM - Forum: Homework - Replies (3)

Not homework, but a very elementary script, that has a seemingly complex problem.

It mostly works. It is used to move directories based on the file..... More

Print this item

  Mysql error message: Lost connection to MySQL server during query
Posted by: tomtom - Feb-08-2022, 06:15 AM - Forum: General Coding Help - Replies (6)

I want to connect to a database in a remote server (namecheap Cpanel)
Os: wisdows 11

Here's my code:[python]
def connect_to_db(): # function conn..... More

Print this item

  I tried to solve basic reaction kinetics ode but i cant run the simulation. Plz help
Posted by: Vengdasan - Feb-08-2022, 01:16 AM - Forum: General Coding Help - Replies (1)

[python]
import numpy as np
from scipy.integrate import odeint
import matplotlib.pyplot as plt

def rxn(Z, t):
k1 = 1
k2 = 1.5

..... More

Print this item

  For loop index out of bounds
Posted by: armitron121 - Feb-07-2022, 11:18 PM - Forum: General Coding Help - Replies (2)

Hello,

I am iterating a for loop a data frame by assigning the length of the df to a variable, and iterating the for loop across the range of that ..... More

Print this item

Question Python Obstacles | Jeet-Kune-Do | BS4 (Tags > MariaDB) [URL/Local HTML]
Posted by: BrandonKastning - Feb-07-2022, 09:53 PM - Forum: Web Scraping & Web Development - No Replies

Python Obstacles | Jeet-Kune-Do | BS4 (Tags > MariaDB) [URL/Local HTML]

I am working on solving my Thread: "..... More

Print this item

  List Iteration Help
Posted by: javeeva - Feb-07-2022, 07:52 PM - Forum: General Coding Help - Replies (2)

I've got a list [my_list] that contains a variable part of a web address I want to access. The web address outputs a result that I want to grab with ...... More

Print this item

  Asyncio: Queue consumer gets out of while loop without break. Where exactly and how?
Posted by: saavedra29 - Feb-07-2022, 06:23 PM - Forum: General Coding Help - Replies (2)

I have the following code:
[code]import asyncio

PARALLEL_DOWNLOADS = 4
names = ['Aris', 'Kostas', 'Nikos', 'Makis', 'Christos', 'Andreas', 'Vasil..... More

Print this item

  Subclass initialized property used in parent class method. Is it bad coding practice?
Posted by: saavedra29 - Feb-07-2022, 04:13 PM - Forum: General Coding Help - Replies (5)

Hello, i have the following code:
[code]class ParentClass:
def use_name(self):
print('Using {} somehow'.format(self.name))


class C..... More

Print this item

  Newbie first problem
Posted by: cima_hurdle - Feb-07-2022, 04:02 PM - Forum: General Coding Help - Replies (8)

Hi there.

I've just started my first book for Python "Python Crash Course" and I faced my first problem.
I believe I installed Python correctly ve..... More

Print this item

  Cant transfer a variable onto another function
Posted by: KEIKAS - Feb-07-2022, 03:24 PM - Forum: General Coding Help - Replies (5)

The error is in line 17

[python]import tkinter as tk
from tkinter.ttk import *
window = tk.Tk()

def Adder():
AddingWindow = tk.Toplevel(w..... More

Print this item

  vtk reader
Posted by: paul18fr - Feb-07-2022, 02:52 PM - Forum: Data Science - Replies (1)

Hi

Does somebody know where can I find informations on how to read a compressed vtk byte file (with vtkZLibDataCompressor I guess)? I'm digging for..... More

Print this item

  installing anaconda3 fails (failed to create menus)
Posted by: Hikki - Feb-07-2022, 01:38 PM - Forum: General Coding Help - Replies (9)

I have no idea where to ask this but I desperately need to upgrade to python 3 and the rabbit hole just goes on, this time not allowing me to install ..... More

Print this item

Question Opening small size browser with python selenium not work, need help
Posted by: greenpine - Feb-07-2022, 11:36 AM - Forum: General Coding Help - No Replies

Hello;
trying to make python selenium opens browser in smaller size , but somehow the coding is not correct and it does not work,Wall
I am not g..... More

Print this item

  Pyinstaller 3 Python 2
Posted by: mckymntl - Feb-07-2022, 06:28 AM - Forum: General Coding Help - No Replies

Hello,

I used pyinstaller, installed from pip3, to turn a program I wrote in python 2.7 into an executable. This program is a reverse back door. P..... More

Print this item

  Rasp Pi Analog Joystick
Posted by: mmagner2022 - Feb-07-2022, 02:05 AM - Forum: Game Development - Replies (1)

I am currently trying to connect my raspberry pi 3 to an analog joystick controller using an ADC but when I run the code and move the joystick, it alw..... More

Print this item

  question about my pygame code for space shooter
Posted by: Than999 - Feb-07-2022, 12:41 AM - Forum: Game Development - Replies (4)

Hi, I am not sure why when I go and run my code I am getting these two errors:
Terminal Output:
"File "c:\Users\Timothy Han\Documents\Python Projec..... More

Print this item

Question apk file not working on android
Posted by: polya001 - Feb-06-2022, 11:40 PM - Forum: General Coding Help - No Replies

I'm trying to create a apk file of a python application via buildozer. But the apk does not run on android. I decided to run the primitive "Hello worl..... More


Attached Files

.txt   buildozer spec.txt (Size: 15.04 KB / Downloads: 422)
.py   111.py (Size: 244 bytes / Downloads: 321)
Print this item

  Appending Excel column value as CSV file name
Posted by: sh1704 - Feb-06-2022, 10:32 PM - Forum: General Coding Help - No Replies

Hi All,
I am trying to execute a bunch of queries from an excel and loading the result of each queries in individual CSV files. Below is the python c..... More

Print this item

  finding point in m grid
Posted by: jenya56 - Feb-06-2022, 09:00 PM - Forum: General Coding Help - No Replies

I have created mgrid and now I want to find index where the point belongs to.
Note, I entertained this solution but obviously need logical and which ..... More

Print this item

  creating my own file-like object
Posted by: Skaperen - Feb-06-2022, 08:25 PM - Forum: News and Discussions - No Replies

how much must i implement to create a file-like object that can have a reference to it passed along as argument one in open() as well as the file obje..... More

Print this item

  Why does this example need 'self'
Posted by: stealth - Feb-06-2022, 08:04 PM - Forum: General Coding Help - Replies (1)

Hi there

This is a teaching example and I don't understand why I need the 'self' keyword here. Can somebody explain this?

time_and_date.py
- ha..... More


Attached Files

.py   wanduhr_muloe.py (Size: 1.38 KB / Downloads: 293)
.py   time_and_date.py (Size: 3.17 KB / Downloads: 316)
Print this item

  combining lists
Posted by: stealth - Feb-06-2022, 07:55 PM - Forum: General Coding Help - Replies (3)

Hi there

Can somebody explain why my statement for c also results in a list and not in a set (as the set brackets where used)?
(This is just to un..... More

Print this item

  question about my Pygame code
Posted by: Than999 - Feb-06-2022, 04:23 PM - Forum: Game Development - Replies (2)

Hi everyone, I am trying to learn about the Pygame framework by following this Medium article. However, my code so far only shows the game window scr..... More

Print this item

  Query in sqlite database
Posted by: frewil - Feb-06-2022, 04:12 PM - Forum: General Coding Help - Replies (2)

Hello,

I have a database named 'Appartement database' with the table 'Electricite'.
In this table I have three columns: Id ¦ date_facture_elec ¦ m..... More

Print this item

  How to get filtered result using payload in requests?
Posted by: Moto - Feb-06-2022, 12:49 PM - Forum: Web Scraping & Web Development - Replies (5)

I can't get filtered result using payload, I got generic result. In Postman the result is filtered with same payload.

I think I'm doing something w..... More

Print this item

  bug in subset sum algorithm
Posted by: usercat123 - Feb-06-2022, 12:23 PM - Forum: General Coding Help - Replies (3)

Given an array of integers and a value k, return True if there exists a subset of elements of the array that sums up to k.
This is my algorithm. Init..... More

Print this item

  PIL Image im.show() no show!
Posted by: Pedroski55 - Feb-06-2022, 11:32 AM - Forum: General Coding Help - Replies (6)

For my little OMR programme, I need to crop the image I have into columns. Normally this works no problem.

The image is an A4 size .jpg. The 'bubbl..... More

Print this item

  breakout clone pygame
Posted by: flash77 - Feb-06-2022, 06:46 AM - Forum: Game Development - Replies (2)

Hello,
I'm trying to program a breakout clone.

With lives = ball.move(lives) I'm trying to send "lives" to the move method of Ball.

But an erro..... More


Attached Files

.txt   ball.txt (Size: 1.45 KB / Downloads: 310)
.txt   main.txt (Size: 3 KB / Downloads: 296)
Print this item

  How to get every IP found by a Scapy traceroute?
Posted by: jao - Feb-06-2022, 01:00 AM - Forum: Networking - No Replies

Hello, is it possible to get every IP found by a Scapy traceroute on a route?

My Python code:

[python]
from scapy.all import I..... More

Print this item

  is stdin a console
Posted by: Skaperen - Feb-06-2022, 12:29 AM - Forum: News and Discussions - Replies (2)

is there a portable way to determine if reading stdin will read from the console? i know how to do this in Linux and BSD, but no..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 38 minutes ago Alexandros Gribouillis General Codin...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576048
  Tutorial Requ... 497524
  Web Scraping ... 440005
  Newbie with P... 383771
  New Users Int... 366282
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+ 12089
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Today
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday

User Panel Messages

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