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,235
» Latest member: Alfredd
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 37 Guest(s)
Bing, Google, Facebook

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 3
» Views: 71
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
6 hours ago
» Replies: 3
» Views: 90
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 63
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 97
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,018
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,550
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 178
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,192
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,437

 
  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

  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

  Method works as expected on host machine but not on server
Posted by: gradlon93 - Jan-04-2023, 11:48 AM - Forum: General Coding Help - Replies (4)

Good morning,

I have written the following script, which should run a method recursively until the constant SIGN_COLOR from an ex..... More

Print this item

  boolean array: looking for all rows where all is True
Posted by: paul18fr - Jan-04-2023, 09:43 AM - Forum: Data Science - Replies (4)

Hi

I want to get rows where all columns are True; I have supposed it has been "simple", but i do not understand why the following code does n..... More

Print this item

  Montecarlo simulation methods - Python package
Posted by: vallops99 - Jan-04-2023, 08:29 AM - Forum: Data Science - No Replies

Hello fellas,

I would like to introduce you to montecarlosim Python package.
I'm developing a package that let people use Montecarlo simula..... More

Print this item

  i guess i don't really understand locals
Posted by: Skaperen - Jan-04-2023, 03:13 AM - Forum: News and Discussions - No Replies

[python]
def funa():
print('started funa')
foo = 'bar'
def funb():
print('started funb')
print('locals() =',repr(loc..... More

Print this item

  new terminology i want to use in 2023
Posted by: Skaperen - Jan-03-2023, 11:52 PM - Forum: Bar - Replies (2)

instead of "source code" or in many cases just "code" i want to use the term "recipe" (or whatever it is in the language being used).

Print this item

  TypeError: a bytes-like object is required
Posted by: ZeroX - Jan-03-2023, 08:24 PM - Forum: General Coding Help - Replies (13)

Hi, I am very new to Python so I apologise if this is an obvious fix!

I have a script that was written a long time ago (not by me) so it is in Pyth..... More

Print this item

  pyspark help
Posted by: lokesh - Jan-03-2023, 04:34 PM - Forum: General Coding Help - No Replies

Hi,

I need a help to convert this pandas df to pyspark dataframe

df=df.groupby('key', as_index=False).agg({'key' : 'first', 'country' : ', '.jo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 4 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 6 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578672
  Tutorial Requ... 509060
  Web Scraping ... 441834
  Newbie with P... 385782
  New Users Int... 375018
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday
ironwolfan7Dip Yesterday

User Panel Messages

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