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,479
» Latest member: livecricket
» Forum threads: 38,579
» Forum posts: 174,812

Full Statistics

Online Users
There are currently 677 online users.
» 1 Member(s) | 673 Guest(s)
Bing, Google, Yandex, deanhystad

Latest Threads
How to attach images to a...
Forum: Board
Last Post: sethmike9
8 hours ago
» Replies: 6
» Views: 8,862
How To Attach data Files
Forum: Board
Last Post: sethmike9
8 hours ago
» Replies: 3
» Views: 4,132
Text frame
Forum: Homework
Last Post: Pedroski55
Yesterday, 07:39 PM
» Replies: 2
» Views: 352
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
Yesterday, 06:28 PM
» Replies: 0
» Views: 132
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 270
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 209
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,382
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 152
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 480
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,323

 
  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: 257)
.py   GraphSelect.py (Size: 2.68 KB / Downloads: 194)
.py   main.py (Size: 973 bytes / Downloads: 202)
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 (1)

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

  which exception do you get when you os.write() to a pipe that has nothing reading it?
Posted by: Skaperen - Jan-05-2023, 07:18 PM - Forum: News and Discussions - Replies (7)

which exception do you get when you os.write() to a pipe that has nothing reading it?


i thought it would be [b][font=Courier New]BrokenPipeError[/f..... More

Print this item

  String formatting (strptime) issues
Posted by: Henrio - Jan-05-2023, 12:40 PM - Forum: General Coding Help - Replies (2)

Please help out to review the problems with my code. It threw up an error message which says;
Value Error: time data ')' does not match format '%H:%M..... More


Attached Files

Thumbnail(s)
   
Print this item

  Adding values with reduce() function from the list of tuples
Posted by: kinimod - Jan-05-2023, 11:34 AM - Forum: General Coding Help - Replies (10)

Hi,
I've been trying to use reduce() function to add values in the list of tuples. I'm only interested to add and display the numbers, but I don't kn..... More

Print this item

Question Use function, retry until valid
Posted by: Ashcora - Jan-05-2023, 10:18 AM - Forum: General Coding Help - Replies (8)

Hello community,

I am currently stuck with the following use case: my goal is to find user names within a directory as normally the display name is p..... More

Print this item

  The Python Papers
Posted by: buran - Jan-05-2023, 07:04 AM - Forum: News and Discussions - Replies (1)

The well known Mike Driscoll, author of Mouse vs Python blog as well as several books about Python h..... More

Print this item

  Advice on develop an offline audio transcription software with no knowledge
Posted by: woah - Jan-05-2023, 05:22 AM - Forum: Homework - Replies (3)

Hi all, my job requires me to do lots of audio typing. These audios involve lots of medical description. Due to confidentiality, I can't use those onl..... More

Print this item

  Help to web scrape from 2 diffrent sources
Posted by: Extra - Jan-05-2023, 12:39 AM - Forum: Web Scraping & Web Development - No Replies

Hello,

I have an Amazon Price Tracker program that takes links from Amazon and prints out the current price and a message that states whether I sho..... More

Print this item

  Need to sum up HHMMS AM/PM DD/MM/YYYY and a HH:MM:SS.
Posted by: tester_V - Jan-04-2023, 07:43 PM - Forum: General Coding Help - Replies (3)

Greetings!
I have a time string, it shows the time something started running:
08:31:27 PM 01/02/2023
And the total 'HH:MM:SS' it took to finish the..... More

Print this item

  Signal filtering / smoothing
Posted by: frohr - Jan-04-2023, 06:05 PM - Forum: General Coding Help - No Replies

Hi,
I am interesting in mechanical vibrations. I have project with Teensy 4.0 and 24bit ADC. I collect data from ADXL1005. Then I send 30000 values f..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to attach images to a... 8 hours ago CynthiaMoore sethmike9 Board
  How To Attach data Files 8 hours ago Talch sethmike9 Board
  Text frame Yesterday, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... Yesterday, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
Most views
  The best Prog... 565552
  Tutorial Requ... 457103
  Web Scraping ... 430469
  Newbie with P... 366767
  Thread remain... 338975
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
livecricket Today
reactnativeexpert Today
sethmike9 Today
Juh_07 Today
Jolex7 Today

User Panel Messages

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