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,389
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 1
» Views: 47
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 227
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,064
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,892
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 137
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 82
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 146
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,295
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 107
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 755

 
  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

Question How to make split button?
Posted by: teknixstuff - Jan-03-2023, 02:33 PM - Forum: GUI - Replies (2)

How can I make a split button with Tkinter?
Here's an example of what that looks like:
[img]https://eithermouse.com/ahk/Screenshots/SplitButton.png[..... More

Print this item

  pygame can't be installed
Posted by: Lethalid - Jan-03-2023, 01:37 PM - Forum: General Coding Help - Replies (4)

Hello
after typing "pip install pygame" in cmd I have:

:\Windows\system32>pip install pygame
Collecting pygame
Using cached pygame-2.1.2.tar.g..... More

Print this item

  Sine fitting - extra modulation
Posted by: Pikano - Jan-03-2023, 01:33 PM - Forum: Data Science - Replies (2)

Hi,
I have some issues with sine fitting, I use a very simple sine equation

y = a + b*np.sin(N_p*theta+c)
but the result gives me ..... More


Attached Files

Thumbnail(s)
   
Print this item

  how to make label or button not visible with the place method?
Posted by: nowayj63 - Jan-03-2023, 03:05 AM - Forum: GUI - Replies (2)

how can I make this label visible or not visible using the place method?
I will have to make it visible later in he program but hidden at the start...... More

Print this item

  TKinter JSON Key Error
Posted by: Nu2Python - Jan-02-2023, 06:09 AM - Forum: GUI - Replies (4)

Hi All, I am hoping someone can tell me why this error is happening with my line:
[python]x = json.loads(sonoff01.text)
status = x['relays'][/pytho..... More

Print this item

  Random Generator: From Word to Numbers, from Numbers to n possibles Words
Posted by: Yamiyozx - Jan-01-2023, 09:18 PM - Forum: Homework - Replies (2)

Hello everyone, I'm a complete noob, but I would like to ask help to make a little projet.

The Ideia is very simple:

1.I input a seed, that can ..... More

Print this item

  Couldn't install a go-game called dlgo
Posted by: Nomamesse - Jan-01-2023, 07:19 PM - Forum: General Coding Help - Replies (14)

Hi everyone,

I'm trying to install a go game package called dlgo but I can't. Here's it all :
[python]C:\Users\Nomamesse>pip install dlgo
Collect..... More

Print this item

  reshaping 2D numpy array
Posted by: paul18fr - Jan-01-2023, 06:31 PM - Forum: Data Science - Replies (3)

Hi

Does somebody have a more efficient way to reshape the following M matrix?

The only way i've found so far is to extract 2 intermediate matri..... More

Print this item

Exclamation Setting icon on QAction from outside QGuiApplication
Posted by: gradlon93 - Jan-01-2023, 05:55 PM - Forum: GUI - Replies (3)

Good evening, and a happy new year you all.

I'm working on a GUI that is expected to become larger and larger in the future, so I am aiming to mak..... More

Print this item

  how to read txt file, and write into excel with multiply sheet
Posted by: jacklee26 - Jan-01-2023, 03:41 AM - Forum: General Coding Help - Replies (14)

Hi I have faced one problem I wish to read a text file, and when reaching ===== ending, I wish to write into a new separate sheet.
So for example, I..... More

Print this item

  Issues with "connection timed out"
Posted by: duckredbeard - Dec-31-2022, 10:46 PM - Forum: General Coding Help - No Replies

I have a Raspberry Pi running a python code that is expected to do a requests.post when a PIR detects motion. It works for several days in a row, the..... More

Print this item

  Tkinter Pillow Resize Image Looks Choppy While Resizing
Posted by: AaronCatolico1 - Dec-31-2022, 10:45 PM - Forum: General Coding Help - Replies (2)

I have a frame that stores a label which stores a background image. When I resize the form and the frame resizes, the background image of the label lo..... More

Print this item

  Using multi-core and muliple processors
Posted by: Robots - Dec-31-2022, 10:42 PM - Forum: Data Science - Replies (1)

In my computers I am running multi-core or multipule CPUs, how can I get Python to use a specific CPU, core or set of either?

Print this item

  Zooming on mouse position calculation
Posted by: GJG - Dec-31-2022, 02:55 PM - Forum: Game Development - Replies (1)

HI :) ! I have been trying to create a simple zoom on point navigation with pygame, and after endless googling sessions, this is as close as I could g..... More

Print this item

  Download video having DRM protection
Posted by: Pavel_47 - Dec-31-2022, 11:26 AM - Forum: Web Scraping & Web Development - No Replies

Hello,
I wonder if there is any method to bypass DRM protection while downloading a video.
Any suggestions ?
Thanks.

Print this item

  How to print variables in function?
Posted by: samuelbachorik - Dec-31-2022, 10:27 AM - Forum: General Coding Help - Replies (3)

Hi, lets think function

def help():
    a = 0
    b = 1
    c = linear(x)
How to now get these variables of this functions int..... More

Print this item

  Sorting data by specific variables using argparse
Posted by: Bearinabox - Dec-31-2022, 12:14 AM - Forum: Data Science - Replies (5)

I have a data set with several columns. One column is consists of different years. I'm trying to create a program so that a user can input a year and ..... More

Print this item

  Matplotlib FuncAnimation
Posted by: NewPi - Dec-30-2022, 09:45 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a question about FuncAnimation of Matplotlib. Here is my code:

[python]import numpy as np
import matplotlib.pyplot as plt
import ma..... More

Print this item

  Create Excel Line Chart Programmatically
Posted by: dee - Dec-30-2022, 07:07 PM - Forum: General Coding Help - Replies (3)

Hello,
Do you have a good link or code how to create Excel line chart from Python with dataframe or from Excel data? I google for a while but unfortu..... More

Print this item

  pdf to mp3
Posted by: yawstick - Dec-30-2022, 03:19 PM - Forum: General Coding Help - Replies (4)

I'm mostly a micro python guy on ESP32 devices but recently ran across a lot of python programming videos on youtube. One caught my eye and have been ..... More


Attached Files

.pdf   test_pdf.pdf (Size: 8.48 KB / Downloads: 272)
Print this item

  Reading a file
Posted by: JonWayn - Dec-30-2022, 08:35 AM - Forum: General Coding Help - Replies (3)

I have got a simple file read code and I need to understand why it works the way it does.

[python]
def ReadFileContents(file_path):
try:
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 10 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580362
  Tutorial Requ... 519067
  Web Scraping ... 442771
  Newbie with P... 386954
  New Users Int... 386263
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
atalieyandext4063 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday
zashleyfracesz3221 Yesterday
itx_sumeet Yesterday

User Panel Messages

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