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: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 65 online users.
» 1 Member(s) | 57 Guest(s)
Bing, Applebot, AOL, AOL, Google, Mojeek, bibin6Dip

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
4 hours ago
» Replies: 2
» Views: 233
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
5 hours ago
» Replies: 0
» Views: 108
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
5 hours ago
» Replies: 10
» Views: 3,689
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
11 hours ago
» Replies: 1
» Views: 3,332
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 632
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,078
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 978
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,207
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,222
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,327

 
  button enabled only when all the inputs are filled
Posted by: cybertooth - Oct-18-2021, 08:26 AM - Forum: GUI - Replies (5)

Hi all. I am making a Tkinter form for registration. I want the register button to be disabled until all fields are filled. secondly I am having an i..... More

Print this item

  Not able to add multiple channel IDs to python bot
Posted by: flaykez - Oct-17-2021, 10:36 PM - Forum: General Coding Help - Replies (3)

I have my bot setup so that it can ping a user in a specific channel when they join the server then immediately delete it, and it works:

command_pr..... More


Attached Files

Thumbnail(s)
   
Print this item

  NameError: name “x” is not defined ... even though x is defined
Posted by: campjaybellson - Oct-17-2021, 06:43 PM - Forum: General Coding Help - Replies (7)

I keep getting this name error message when I just want to print the value of x.
The picture clearly shows that I am defining x [x = 5].
I have unin..... More

Print this item

  Problem in list manipulation
Posted by: CyKlop - Oct-17-2021, 04:39 PM - Forum: General Coding Help - Replies (6)

Error in list processing??

Class Diagram:

[python]Bindable (my class) list (built in)
\ /
..... More

Print this item

  About linked lists
Posted by: ManoEl - Oct-17-2021, 02:22 PM - Forum: General Coding Help - Replies (2)

I'm learning Python and would like help to know how I can remove a node from a linked list from a value, currently my code looks like this:

[python..... More

Print this item

  Help me with Image detection
Posted by: GoA_TrancE - Oct-17-2021, 12:09 PM - Forum: General Coding Help - Replies (1)

Hello devs,
Since couple of days im looking for a solution to locate an image on the entire screen and click on it faster. Tried with pyautogui but i..... More

Print this item

  Help Python vs Jupyter
Posted by: futureofAI - Oct-17-2021, 09:26 AM - Forum: General Coding Help - Replies (2)

Hi to everyone,

In a first step I want to admit that I´m a very very beginner so please dont judge me on this question - I sure it is very simple ..... More

Print this item

  When using print what does end="" do ?
Posted by: yngxng - Oct-17-2021, 04:23 AM - Forum: Homework - Replies (3)

Hi everyone, i just started learning python so this might sound like a very stupid question.

So i'm doing this exercise about nested loop and i ca..... More

Print this item

  plot(n, f(n))
Posted by: melvin13 - Oct-16-2021, 08:10 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm having a hard time understanding something:
[python]
from pylab import *
import numpy as np
import numpy.fft as npft
import scipy.io.wavfi..... More

Print this item

  API REST Package for Calling/Flask
Posted by: muzikman - Oct-16-2021, 06:39 PM - Forum: General Coding Help - Replies (12)

Greetings,

Is there an API package for calling REST api's? I looked into FastAPI but that is for creating APIs.

Can this be done with Flask?

..... More

Print this item

  Python 3.9 and WINDOWS 10
Posted by: deep_logic - Oct-16-2021, 05:38 PM - Forum: General Coding Help - Replies (2)

Hi all,
I am trying to troubleshoot/modify my python interpreter. I have downloaded 3.9, but my environment variable still points to the original 3.8..... More

Print this item

  Best way to pass data to the few game states with the same superclass?
Posted by: Milosz - Oct-16-2021, 11:06 AM - Forum: Game Development - Replies (7)

Hello, I wonder what is the best way to pass data to the few game states with the same superclass? I'm gonna use state machine with control class. Sta..... More

Print this item

  Better visualisation for wide range data
Posted by: oraib - Oct-16-2021, 10:07 AM - Forum: Data Science - No Replies

I am trying to visulaize my data and show some trend.. the problem is the data range is wide ..

The file link: [https://drive.google.com/file/d/14..... More

Print this item

  Hiring: Expert python Bot developer
Posted by: otsaki - Oct-16-2021, 09:45 AM - Forum: Jobs - Replies (3)

Hello,

We are looking for high experienced in bot software, proxies, that worked with bypass cloudflare, datadome, capmonster etc.

We have two tasks..... More

Print this item

  Son's homework
Posted by: Sinky100 - Oct-16-2021, 09:41 AM - Forum: Homework - Replies (1)

Hi,

My son is is having issues with the below homework.

For a temporary wifi system at an event:
- Enter number of Access Points (AP):
- Enter..... More

Print this item

  time function does not work
Posted by: tester_V - Oct-16-2021, 02:20 AM - Forum: General Coding Help - Replies (4)

Greetings!

I'm trying to use 'functions in my code.
I want to add a timestamp for each different operation my code executes.
I made a function a..... More

Print this item

  choosing a GUI library
Posted by: Skaperen - Oct-15-2021, 05:04 PM - Forum: GUI - Replies (3)

i have been thinking about a GUI interface to a networked computational app i have wanted to do. my other option is to make a web-like interface. i ..... More

Print this item

  Mult-threading and locking file
Posted by: mr_byte31 - Oct-15-2021, 02:26 PM - Forum: General Coding Help - Replies (4)

I had a code which is running correctly but I feel it is not a professional code. I want your opinion to enhance it.

Code :
I create a lot of thread..... More

Print this item

  how to remove icon
Posted by: ilyess68ysl - Oct-15-2021, 04:57 AM - Forum: GUI - Replies (4)

hello everyone, I am new to python GUI creation and I would like to know how to remove the application icon
Regards,
Ilyess

Print this item

  why is this exception being ignored?
Posted by: Skaperen - Oct-14-2021, 07:03 PM - Forum: News and Discussions - Replies (6)

[output]
Exception ignored in: <bound method _zopen.__del__ of <zopen2._zopen object at 0x7f3bfca40748>>
Traceback (most recent call last):
File ..... More

Print this item

  zero referenced object
Posted by: Skaperen - Oct-14-2021, 05:57 PM - Forum: News and Discussions - Replies (4)

once an object is no longer referenced, it can eventually be deleted. i see that, at least for CPython, this really does get delayed. is ther..... More

Print this item

  Data Science
Posted by: sadra_ss - Oct-14-2021, 05:53 PM - Forum: General Coding Help - Replies (1)

Hello everybody, i have some questions regarding the following code in python:

[python]localWinds = {name: site.local_wind(x_i=site.initial_positio..... More

Print this item

  Using Mock with python
Posted by: Hocinema - Oct-14-2021, 03:29 PM - Forum: News and Discussions - Replies (1)

Hello,

I want to know how I can mock an "if" condition on a method?

class FeatEng:

[python] @staticmethod
def is_activated(feat_flag)..... More

Print this item

  Can you give me some suggestion about PCEP
Posted by: Newbie1114 - Oct-14-2021, 03:02 PM - Forum: General Coding Help - No Replies

Hi! I'm preparing for the PCEP certificate.
I have studied for a quite long time but I haven't practised many test and exercise so the PCEP kind of n..... More

Print this item

  Python and 3d
Posted by: MBeratOz - Oct-14-2021, 10:58 AM - Forum: General Coding Help - Replies (2)

Hello,
I am a Python developer in my company. We have a designer who use zBrush for designing 3d models. So I need to merge this 2 3d models file int..... More

Print this item

  Random Forest to Identify Page: Feature Selection
Posted by: JaneTan - Oct-14-2021, 09:40 AM - Forum: Data Science - No Replies

Hi,

I am new to machine learning. I know of a proj that used Random Forest to identify the type of pages in financial reports - identify if a page ..... More

Print this item

  PyQt5 Music Player
Posted by: menator01 - Oct-14-2021, 09:38 AM - Forum: Code sharing - Replies (22)

Still plan on tweaking and trying to shorten the code but, here is what I have working for now.

[python]
#! /usr/bin/env python3

from functools..... More

Print this item

  images and pixels in typical Python scripts
Posted by: Skaperen - Oct-14-2021, 12:29 AM - Forum: News and Discussions - No Replies

i am curious how Python scripts store image and video data (pixels and such) in memory. if my script imported typical image reading and writing funct..... More

Print this item

  Get last row of SQL database and update
Posted by: Turtle - Oct-14-2021, 12:17 AM - Forum: General Coding Help - Replies (5)

First time working with a SQL database...

I have the following database:

[code]+------------+-------------------+--------------+--------------+-..... More

Print this item

  Change font in a list or tuple
Posted by: apffal - Oct-13-2021, 08:33 PM - Forum: General Coding Help - Replies (4)

Is it possible change default font for every item (string) of a list or tuple ?
If yes, how to do it ?

Thanks in advance

Print this item

  making a list be in reverse
Posted by: Skaperen - Oct-13-2021, 06:57 PM - Forum: News and Discussions - Replies (2)

in a loop that builds a list i have this line of code:

        filelist[:0] = [openthis] # build this list in reverse
to build ..... More

Print this item

  Meson - to use or not to use
Posted by: ChrisOfBristol - Oct-13-2021, 06:39 PM - Forum: General Coding Help - Replies (1)

I have a Flatpak of an application which uses a Python (3.10.0) program. The Flatpak manifest uses two ways of installing Python programs, the graphic..... More

Print this item

  I need help with a "deallocating none" error
Posted by: Tails86 - Oct-13-2021, 01:40 PM - Forum: General Coding Help - Replies (3)

I've been trying to track down an issue with some Python code compiled from C (using swig). I've spent days trying to debug this in the python debugge..... More

Print this item

  No Python 3.10 installation was detected
Posted by: RussellZoloft - Oct-13-2021, 10:22 AM - Forum: Bar - Replies (1)

Good morning!

I had been running 3.9.7 successfully, and was notified of the 3.10 update. I downloaded python-3.10.0-amd64 (Win 10 x64 Pro 21H1 19..... More

Print this item

  how can I solve fsolve function error?
Posted by: troddydeeneeeeeey - Oct-13-2021, 02:32 AM - Forum: General Coding Help - Replies (3)

[python]import matplotlib.pyplot as plt
import numpy as np
from scipy.optimize import fsolve

R = 0.08206
Tc = 150.687
Pc = 47.994
ω = -0.002..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 4 hours ago arbiel arbiel General Codin...
  FAST,SECURE AND RELIABLE ... 5 hours ago MihaiPope MihaiPope Game Developm...
  403 Error 5 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... 11 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 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...
  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
Most views
  The best Prog... 576240
  Tutorial Requ... 497893
  Web Scraping ... 440177
  Newbie with P... 384017
  New Users Int... 366716
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 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MihaiPope Yesterday
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday

User Panel Messages

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