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,245
» Latest member: cruisesfares
» Forum threads: 38,778
» Forum posts: 175,805

Full Statistics

Online Users
There are currently 53 online users.
» 0 Member(s) | 48 Guest(s)
Google, Bing, AOL, Applebot

Latest Threads
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
2 hours ago
» Replies: 5
» Views: 200
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
8 hours ago
» Replies: 2
» Views: 61
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
Yesterday, 07:46 PM
» Replies: 6
» Views: 174
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 75
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,596
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 168
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 158
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,613
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,398
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,595

 
  Make your own Python FM Radio
Posted by: ejamckay - Dec-09-2021, 10:05 PM - Forum: Code sharing - Replies (6)

If you would like to make your own Python FM Radio tuner visit Github.com: Search for ejamckay /fm python tuner
Python-FM-Tuner

Print this item

  Separate text files and convert into csv
Posted by: marfer - Dec-09-2021, 07:00 PM - Forum: General Coding Help - Replies (6)

I have several text files in a folder that I want to split by paragraph and convert into csv. Each text file is composed of several paragraphs and som..... More

Print this item

  How to Loop This Code
Posted by: Michael1 - Dec-09-2021, 06:42 PM - Forum: General Coding Help - Replies (2)

[python]#Addition
print ("Hello User, Eneter numbers to add ")
num1 = float (input ("Eneter first numner, "))
num2 = float (input ("Eneter second n..... More

Print this item

  Very basic calculator question
Posted by: BoudewijnFunke - Dec-09-2021, 06:42 PM - Forum: General Coding Help - Replies (4)

Dear people, i have recently started learning Python (about a week ago) and i am trying to write a calculator.
At first i made a simple one, to do ad..... More


Attached Files

Thumbnail(s)
       
Print this item

  duotone, tritone and quadrotone
Posted by: DPaul - Dec-09-2021, 06:26 PM - Forum: Bar - No Replies

Hi,

I can use python to create duotone images.
Convert to black & white.
Create a gradient between 2 colors (256 levels) e.g. black + pantone color...... More

Print this item

  Deserialize Complex Json to object using Marshmallow
Posted by: tlopezdh - Dec-09-2021, 05:53 PM - Forum: General Coding Help - Replies (2)

Hello, I am trying to deserialize json into an object that has nested objects within it.

I am able to deserialize the json into the root level obje..... More

Print this item

  Problem with nested JSON
Posted by: Kalet - Dec-09-2021, 02:52 AM - Forum: General Coding Help - Replies (7)

Hi,

I'm trying all the day and yesterday for two things:
1) I want to modify a lot of values from a JSON object in Python with the following structur..... More

Print this item

  PyQT4/5 App
Posted by: Mitko_Sokolov - Dec-08-2021, 07:04 PM - Forum: Networking - Replies (1)

Hi, i run this project, but when i try to load xbee modules with the app, can't load any xbee. I use PyChram, iwith Python 3.8. and
Any help?
https..... More


Attached Files

Thumbnail(s)
   
Print this item

  Calling functions from within a class: PYQT6
Posted by: Anon_Brown - Dec-08-2021, 12:03 PM - Forum: General Coding Help - Replies (4)

Hi all,
My code is written in python and aims to output a GUI using PYQT6. The code below has been streamlined to troubleshoot the error:

1. From..... More

Print this item

  If/Else If Statement Not Running
Posted by: new_coder_231013 - Dec-08-2021, 11:29 AM - Forum: General Coding Help - Replies (5)

Hi,

This is my third post on any sort of coding website and I'm an absolute beginner at programming. I'm going through an online Python tutorial an..... More


Attached Files

Thumbnail(s)
   
Print this item

  "ModuleNotFoundError: No module named 'PyQt5.QtWidgets'; 'PyQt5' is not a package"
Posted by: chipx - Dec-08-2021, 11:24 AM - Forum: General Coding Help - Replies (3)

Hi, I've been trying to solve this problem with VScode for 2 days:
"ModuleNotFoundError: No module named 'PyQt5.QtWidgets'; 'PyQt5' is not a package"..... More


Attached Files

Thumbnail(s)
       
Print this item

  The code I have written removes the desired number of rows, but wrong rows
Posted by: Jdesi1983 - Dec-08-2021, 04:42 AM - Forum: General Coding Help - No Replies

The Python code I have written removes the intended number of rows from a data frame, but they are not the rows I wish to remove. I am using Python 3...... More


Attached Files

Thumbnail(s)
                   
Print this item

  shouldn't this raise an exception?
Posted by: Skaperen - Dec-07-2021, 07:52 PM - Forum: News and Discussions - Replies (3)

shouldn't this raise some kind of exception, like a Decimal.UNDERFLOW or something like that, new?
[python]
lt2a/phil /home/phil 10..... More

Print this item

  Mqtt
Posted by: Shiri - Dec-07-2021, 02:01 PM - Forum: General Coding Help - No Replies

Hello, this is my code where i am trying to subscribe to mqtt topic and receive the messages. It works fine and I am able to receive the message. My q..... More

Print this item

  Defining Functions
Posted by: theturtleking - Dec-07-2021, 01:23 PM - Forum: General Coding Help - Replies (4)

Hello, I am struggling to define a function and I'm finding my reading material isn't really helping or explaining correctly. I'm not looking for the ..... More

Print this item

  Scraping Issue with BS
Posted by: muzikman - Dec-07-2021, 11:49 AM - Forum: General Coding Help - Replies (11)

Greetings,

I am just going to show you an excerpt of code. Assume the function takes in the HTML from a called to bs.BeautifulSoup. I hard code the..... More

Print this item

  Strange problem related to "python service"
Posted by: Pavel_47 - Dec-07-2021, 11:02 AM - Forum: General Coding Help - Replies (1)

Hello,

I faced to a quite strange problem: if my python program is started as service certain commands aren't executed correctly whereas if I start..... More

Print this item

  str object is not callable
Posted by: zombielinkplus - Dec-07-2021, 08:32 AM - Forum: General Coding Help - Replies (2)

Hello, I need help. Me not have experience to use Python. Can anyone help me how to fix it ? Thank you.

[python]i: int=0
for group in groups:
..... More

Print this item

  Help debugging the code
Posted by: cheburashka - Dec-07-2021, 08:29 AM - Forum: Homework - Replies (4)

Hey! I have a home task that i cant do. I'm fairly new to python and this is quite difficult for me. Will appreciate any help:

If the function is c..... More

Print this item

  Question about List.reverse() method
Posted by: tomliuwhite - Dec-07-2021, 08:12 AM - Forum: General Coding Help - Replies (1)

CountDown=[1, 2, 3]
print(CountDown.reverse())

When I run above scripts, I got the result: None instead of [3, 2, 1]
Could anyone explain to me w..... More

Print this item

  Describe repeating sequences in Dataframe and plot results
Posted by: PBRM - Dec-06-2021, 10:29 PM - Forum: Data Science - No Replies

Hi all,

I have a Dataframe with a time series data. If I plot the data it would look something like in     . Now I want to determine the..... More


Attached Files

Thumbnail(s)
   
Print this item

Smile Touchscreen Virtual Keyboard for Pygame
Posted by: Shandy - Dec-06-2021, 09:56 PM - Forum: General Coding Help - No Replies

Good afternoon/morning,

My first post on this forum so hello to all other forum members. I have posted below a virtual keyboard for use on a touchs..... More

Print this item

  Radio Buttons Working Bassackwards
Posted by: gw1500se - Dec-06-2021, 07:07 PM - Forum: GUI - Replies (6)

I have the following radio buttons defined (sanitized):

[python]
myPhone=tk.StringVar()
tk.Radiobutton(top,text='123-456-7932',variable=myPhone,v..... More

Print this item

  How to solve this task?
Posted by: DERO - Dec-06-2021, 04:33 PM - Forum: Homework - Replies (2)

Imagine yourself as a space ranger. Create a function that has the distances from Earth to the five nearest
stars (find the distances and names of the..... More

Print this item

  getting an import statement to work in my program
Posted by: barryjo - Dec-06-2021, 03:56 PM - Forum: General Coding Help - Replies (1)

I have installed PyCharm as my python IDE.

Previously, I (think) I installed a module pygame that has USB joystick interfaces.

In my program,I ..... More

Print this item

  fast_map (parallel/concurrent map)
Posted by: michalmonday - Dec-06-2021, 03:29 PM - Forum: Code sharing - No Replies

I would like to share the "fast_map" package I wrote, and possibly ask for feedback. It uses multiple processes and threads to quickly complete IO and..... More

Print this item

  convert pcm to image
Posted by: satyanarayana - Dec-06-2021, 12:56 PM - Forum: General Coding Help - Replies (1)

Hi friends,

I have test.pcm file with raw data i want to draw wave form to image from pcm file how can i do.

Print this item

Exclamation coding
Posted by: ecovrefoltr - Dec-06-2021, 10:56 AM - Forum: General Coding Help - Replies (5)

Hey guys,
I am new to coding and getting some errors. I am sure it is quite simple for someone with more experience.
Thank you for your help

[py..... More

Print this item

  Searching Module to plot large data
Posted by: G_rizzle - Dec-06-2021, 08:00 AM - Forum: Data Science - No Replies

Hi!

as the title says, I'm searching for a module to scatter large data. The data is represented in a .txt file as xyz-coordinates (backround: thes..... More

Print this item

  Suggestion request for scrapping html table
Posted by: Vkkindia - Dec-06-2021, 03:17 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I am struggling to scrap a html table.
When the date is selected if there is data, the table will be displayed, i am scrapping it using the xp..... More

Print this item

  Match key-value json,Regex
Posted by: saam - Dec-05-2021, 10:16 PM - Forum: General Coding Help - Replies (5)

I want to replace either the matched key's value or the value matched with strings of the same length but consisting of * only.
There is no proble..... More

Print this item

  webdriver does not work
Posted by: wiki11 - Dec-05-2021, 09:34 PM - Forum: General Coding Help - Replies (2)

Hello, I just started a new project and chromedriver does not work, I have the newest version of pycharm, Google chrome, and chromedriver.

The firs..... More


Attached Files

Thumbnail(s)
       
Print this item

  writelines only writes one line to file
Posted by: gr3yali3n - Dec-05-2021, 08:57 PM - Forum: General Coding Help - Replies (2)

i have a somewhat simple question, that seems to be escaping me. i was messing around with the built-in method itertools to see if i could get anagram..... More

Print this item

Exclamation 0x80072efd - unspecified error
Posted by: Souvr13 - Dec-05-2021, 08:25 PM - Forum: General Coding Help - Replies (3)

I tried downloading Python version 3.7.8 (32 Bit web-based download) and I got an error message saying "0x80072efd - unspecified error" when attemptin..... More

Print this item

Brick how to work with 2 or more related tables in a Post request
Posted by: ikurorox - Dec-05-2021, 01:01 AM - Forum: Web Scraping & Web Development - No Replies

How to work with 2 or more related tables in a Post request?


I have 3 tables:

  • Employee (access for Standart Users)
  • CustomUser (ac..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 2 hours ago yutaozhou Gribouillis News and Disc...
  Help with Serial.write in... 8 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 19:46 tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 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...
Most views
  The best Prog... 578770
  Tutorial Requ... 509600
  Web Scraping ... 441887
  Newbie with P... 385872
  New Users Int... 375613
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday

User Panel Messages

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