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,932
» Latest member: Alex12
» Forum threads: 38,721
» Forum posts: 175,501

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 45 Guest(s)
Bing, Google, AOL, Apple, snippsat

Latest Threads
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
48 minutes ago
» Replies: 0
» Views: 11
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
4 hours ago
» Replies: 1
» Views: 344
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,343
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,460
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 287
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 94
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,806
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,058
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 747
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,113

 
  How to get back a subdirectory in URL with Django
Posted by: jao - Jan-11-2023, 10:28 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello, I'm currently learning Django and i've come up with a difficulty. I have a login app, where the user logs in and registers, their url is localh..... More


Attached Files

Thumbnail(s)
   
Print this item

  First Day using Python. NEED Simple Math CODE HELP!
Posted by: Jesseluke - Jan-11-2023, 08:23 PM - Forum: Homework - Replies (4)

can someone help me with a simple *for yous* lines of code..

I need to input a number of no more then 10 or 11 digits. say 01234567890

then n..... More

Print this item

  x and y must have same first dimension, but have shapes (1,) and (50,)
Posted by: asja2010 - Jan-11-2023, 03:00 PM - Forum: General Coding Help - Replies (5)

Hey there python community, after successfully plotting a graph, when it comes to plotting the frontier of it, I get this message:
[python]ValueError..... More

Print this item

  Using one child class method in another child class
Posted by: garynewport - Jan-11-2023, 12:03 PM - Forum: General Coding Help - Replies (5)

I have two child classes; GraphSelect and GraphCreate.

Both are children of the main, parent, class, [inline]App[..... More

Print this item

  Pyinstaller
Posted by: mksundaram - Jan-11-2023, 10:23 AM - Forum: General Coding Help - Replies (1)

Pyinstaller throws an error: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/_MEIBtYb0G/frozendict/VERSION'
[48290] Failed to execute s..... More

Print this item

  Decode string ?
Posted by: JohnnyCoffee - Jan-11-2023, 12:07 AM - Forum: General Coding Help - Replies (1)

Simulating a direct http request in the browser address bar for the module (wsgiref), with the following url:

( OvO ) - Http Request :

[python]..... More

Print this item

  How to use global value or local value
Posted by: sabuzaki - Jan-10-2023, 08:55 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm looking something similar like inheritance from an object (not a class). Example we have code:

[python]
class bridge():
va..... More

Print this item

  PyQt5, QtSql: connection to database does not work
Posted by: gradlon93 - Jan-10-2023, 08:18 PM - Forum: GUI - Replies (4)

Good evening,

I am not sure whether this is the right section, since my question is not about the GUI part of PyQt, but database (QtSql).

I am try..... More


Attached Files

Thumbnail(s)
   
Print this item

  numpy.ufunc - Arguments missunderstand
Posted by: MarioBruza - Jan-10-2023, 07:06 PM - Forum: Data Science - No Replies

Delete a post please. (msg for a moderator).

Print this item

  Kivy 2.2.0 not available. You have 2.1.0, but the application requires 2.2.0)
Posted by: mikepy - Jan-10-2023, 06:10 PM - Forum: GUI - Replies (1)

Hi guys! Has anybody the same problem to install the kivy 2.2.0 update on Ubuntu? I have tried to update the library, but in VS Code the error remains..... More

Print this item

  local varible referenced before assignment
Posted by: SC4R - Jan-10-2023, 05:16 PM - Forum: General Coding Help - Replies (6)

I kept having this error: UnboundLocalError: local variable 'command' referenced before assignment

Does Anybody know how to solve it?

Here is th..... More

Print this item

  .doc (word) readers
Posted by: DPaul - Jan-10-2023, 04:28 PM - Forum: Bar - No Replies

Hi,
This time I came across a massive contingent of legacy .doc files (not .docx)
Unlike .xml files, that you can read easily, with a choice of tools,..... More

Print this item

Thumbs Up Convert an Interger into any base !? [Solved]
Posted by: SpongeB0B - Jan-10-2023, 03:16 PM - Forum: General Coding Help - Replies (8)

Hi everyone,

Converting a ~base number into a Integer (base10) is quite straightfoward ->

int('2JD',27)
[output]1984[/output..... More

Print this item

  Graph is not appearing in correct frame?
Posted by: garynewport - Jan-10-2023, 10:49 AM - Forum: General Coding Help - Replies (2)

I am unsure if this is a Python, (custom)tkinter or matplotlib question; though the common ground is Python.

I am creating an app to display a rang..... More


Attached Files

Thumbnail(s)
   

.py   GraphCreate.py (Size: 5.85 KB / Downloads: 289)
.py   GraphSelect.py (Size: 2.68 KB / Downloads: 221)
.py   main.py (Size: 973 bytes / Downloads: 233)
Print this item

  Need help on how to include single quotes on data of variable string
Posted by: hani_hms - Jan-10-2023, 04:35 AM - Forum: General Coding Help - Replies (5)

I am not unable to figure out why Python cannot include single quotes on to the value of the variable string. I am trying to add single quote on the b..... More

Print this item

  platformer enemy animation
Posted by: Yegor123 - Jan-10-2023, 12:50 AM - Forum: General Coding Help - Replies (4)

Im working on a platformer for my game and im trying to learn how to add animation to enemies i was looking at a tutorial on how to add animation too ..... More

Print this item

  Data Sorting and filtering(From an Excel File)
Posted by: PY_ALM - Jan-09-2023, 08:14 PM - Forum: Data Science - No Replies

Dear Friends

Assalamualiqum.....Brother....Hopping for your better health and safety....

I have an excel sheet prepared by my friend....He has d..... More


Attached Files

.xlsx   table sort filter and data extraction rev 1.xlsx (Size: 57.52 KB / Downloads: 1)
Print this item

  Set order
Posted by: FreshEire - Jan-09-2023, 05:04 PM - Forum: General Coding Help - Replies (7)

Hi,

I am trying to understand the behaviour for sets as I am learning Python atm.

My understanding is that sets are unordered but when converti..... More

Print this item

  Trying to get year not the entire year & time
Posted by: mbrown009 - Jan-09-2023, 03:33 AM - Forum: General Coding Help - Replies (2)

I am trying to convert the string into the date format

Here is my code

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

# make sure to install these packages be..... More

Print this item

  My first class.
Posted by: Killrpenguin - Jan-09-2023, 12:50 AM - Forum: Code Review - Replies (2)

This code was developed after completing an intermediate challenge that suggested I write my own version of the python upper() function. After finishi..... More

Print this item

  Help multitasking in code
Posted by: Extra1 - Jan-08-2023, 11:47 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to get my Main function of my code to run in parallel with a Reminders scheduler I have. I tried threading but it makes my Main c..... More

Print this item

  Best all-Python workflow to learning basic math (eventually Data Science)
Posted by: Drone4four - Jan-08-2023, 08:43 PM - Forum: News and Discussions - No Replies

I’m learning basic math skills with the intention of eventually studying data science. I’m enrolled in a few courses on Udemy that I got at a discount..... More

Print this item

  Code used to work 100%, now sometimes works!
Posted by: muzicman0 - Jan-08-2023, 05:01 PM - Forum: General Coding Help - Replies (5)

I have a remote server that records live TV. Every night I run a python script that copies new TV recordings to my local (home) PC over a VPN so I ca..... More

Print this item

  Comparing two columns with same value but different font format
Posted by: doug2019 - Jan-08-2023, 05:44 AM - Forum: General Coding Help - Replies (3)

Hi! I have a column of a dataframe with city names in capital letters and I wanted to compare it with the cities column of another dataframe with reg..... More

Print this item

  Index Function not recognized in Python 3
Posted by: Peter_B_23 - Jan-08-2023, 03:07 AM - Forum: General Coding Help - Replies (1)

Hi Everyone,
I'm learning Python from an Online course and all was going well until I got to the subject of 'Series'.
There are some exercises where..... More

Print this item

  Running 3rd party libs on Steam Deck (Arch Linux) with restricted access
Posted by: metulburr - Jan-07-2023, 10:20 PM - Forum: General Coding Help - No Replies

I am trying to run pygame in steam deck which is running a modified version of Arch Linux. So by defualt it already has PYthon. However the modified v..... More

Print this item

  create IA
Posted by: Cyril_Soudant - Jan-07-2023, 12:40 PM - Forum: General Coding Help - Replies (3)

Hello, I'm writing to know how to create an object recognition AI in a game to automate a task for example and recognize a hand and go with module imp..... More

Print this item

  Panda pivot_table questions
Posted by: dee - Jan-06-2023, 11:16 PM - Forum: General Coding Help - Replies (1)

I need help on Panda pivot_table. The following are the code and the output. I will need help on:
1. Why Product and the Term are not in the output?..... More

Print this item

  Use pandas to obtain cartesian product between a dataframe of int and equations?
Posted by: haihal - Jan-06-2023, 05:13 PM - Forum: Data Science - No Replies

I've attached an image further detailing what I'm trying to achieve.

The following is what I came up with; but I'm confident it can be done much si..... More


Attached Files

Thumbnail(s)
   
Print this item

  Looping over radio buttons
Posted by: garynewport - Jan-06-2023, 12:43 PM - Forum: General Coding Help - Replies (8)

I have a series of radio buttons on a grid, using custom tkinter.

I am setting each one up onto the grid using the following code:

[python]
..... More

Print this item

Exclamation Update Point Coordinates from Mouse Event in a Plot
Posted by: Jguillerm - Jan-06-2023, 08:18 AM - Forum: GUI - Replies (2)

Hi everyone !

This is my first object-oriented project, thus some parts could be wrote in a better way (advices would be appreciate.. Big Grin ..... More

Print this item

  which exception should be thrown for a sequence of the wrong length?
Posted by: Skaperen - Jan-06-2023, 03:34 AM - Forum: General Coding Help - Replies (1)

which exception should be thrown for the case of passing, to a function, a sequence of the wrong length? TypeError and ValueError both seem wrong and..... More

Print this item

  Non-blocking real-time plotting
Posted by: slow_rider - Jan-06-2023, 12:11 AM - Forum: General Coding Help - Replies (5)

I'm running code with several threads that update readings from 32 sensors and 1 that writes a log file. I would like to plot all that data in real-ti..... More

Print this item

  Filter dataframe Not Working
Posted by: dee - Jan-05-2023, 10:35 PM - Forum: General Coding Help - Replies (2)

The followings are my code and prints. Why the df_sample is empty? The ydate variable is '2022-12-31' and the original df As_of_date have '2022-12-31'..... More

Print this item

  TKinter Not Executing
Posted by: Nu2Python - Jan-05-2023, 10:24 PM - Forum: GUI - Replies (3)

Hi all... I am not sure why, but this code is no longer executing the GUI like it once did. The code runs fine, the 'Print' line shows up fine in the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Expert Guidance Made Easy... 48 minutes ago Alex12 Alex12 General Codin...
  Another app idea - intera... 4 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 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...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
Most views
  The best Prog... 575788
  Tutorial Requ... 497023
  Web Scraping ... 439796
  Newbie with P... 383486
  New Users Int... 365265
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 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Alex12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday

User Panel Messages

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