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,935
» Latest member: Diyaseating
» Forum threads: 38,721
» Forum posts: 175,504

Full Statistics

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

Latest Threads
set -x shell equivalent o...
Forum: General Coding Help
Last Post: pbo75715
26 minutes ago
» Replies: 2
» Views: 903
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:27 PM
» Replies: 2
» Views: 399
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,426
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,828
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 781
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,028
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,077
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,130
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 698
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,686

 
  Math Package in python
Posted by: Uma - Dec-12-2021, 01:28 PM - Forum: General Coding Help - Replies (1)

Hi..I just started learning python. I would like to know how many in built functions are available in math package. is it possible to print those func..... More

Print this item

  [Solved] Matplotlib - Tricontour: how to set colorbar range
Posted by: ju21878436312 - Dec-12-2021, 10:29 AM - Forum: General Coding Help - Replies (1)

I would like to set the colorbar range, when plotting my data, using tricontour.

What I have tried:
vmin=0.13, vmax=0.4
to enforce min ..... More


Attached Files

Thumbnail(s)
   

.csv   data.csv (Size: 373 bytes / Downloads: 365)
Print this item

  Where To start on a voice assistant
Posted by: Extra - Dec-11-2021, 11:31 PM - Forum: News and Discussions - Replies (1)

Brace yourself because this is a lot.

Hello,

I'm looking to build a voice activated assistant (similar to Alexa and Siri) but is private, doesn't sp..... More

Print this item

  How to split a bigram?
Posted by: cheburashka - Dec-11-2021, 07:06 PM - Forum: General Coding Help - Replies (1)

Hi! Is there a way to split a bigram? For example: (what do) and print it out like (Head: what Tail: do)?

Print this item

  Strategy on updating edits back to data table and object variables
Posted by: hammer - Dec-11-2021, 02:58 PM - Forum: General Coding Help - No Replies

I pull data out of a data table to assign to a object's variables. I use these object variables to assign to kivy text input.text. There are numerous ..... More

Print this item

  PDF Merge Tool
Posted by: Rajasekaran - Dec-11-2021, 06:22 AM - Forum: General Coding Help - Replies (3)

I want to create the Collate (merge) PDF files from page level pdf. When i am executing the below coding it showing below error message, but 4 pdf fil..... More

Print this item

  smallest float that can increment a given value
Posted by: Skaperen - Dec-11-2021, 05:01 AM - Forum: News and Discussions - Replies (7)

given a float value, i want to get the smallest float value that can increment the given value. below that added to the given value leaves the same g..... More

Print this item

  Python certification
Posted by: jlal81 - Dec-11-2021, 04:11 AM - Forum: News and Discussions - Replies (4)

Hello there

Has anyone done python certification?

Please share which one you did. I have been inclining to do https://pythoninstitute.org/certif..... More

Print this item

  Loop reading csv file problem
Posted by: faustineaiden - Dec-10-2021, 10:02 PM - Forum: General Coding Help - Replies (1)

Read 1 csv file data code, it works well


[python]import csv
import pandas as pd
import numpy as np
import torch

data = []
fname = 'C:/User..... More

Print this item

  mido MIDI-file; how to distinguis tracks?
Posted by: philipbergwerf - Dec-10-2021, 04:48 PM - Forum: General Coding Help - Replies (2)

I did already some code which prints all midi messages in a dict using mido. This is the result of a test midi-file:

{'type': 'time_signature', 'nu..... More

Print this item

  Question about NameError
Posted by: Than999 - Dec-10-2021, 03:08 PM - Forum: General Coding Help - Replies (2)

Hi, I am learning Python object oriented programming through this Youtube video. I am following along with his code. However, I am getting a "NameEr..... More

Print this item

  I want to create an automated website in python
Posted by: mkdhrub1 - Dec-10-2021, 02:41 PM - Forum: Web Scraping & Web Development - Replies (2)

I want to create an automated website in python. I have seen some sites which have 1000 of pages and each page is generated based on some keyword sear..... More


Attached Files

Thumbnail(s)
   
Print this item

  deleted
Posted by: Overdue - Dec-10-2021, 01:10 PM - Forum: General Coding Help - No Replies

deleted

Print this item

  Reshape txt file into particular format using python
Posted by: shantanu97 - Dec-10-2021, 11:44 AM - Forum: General Coding Help - No Replies

1.I need to convert the following .txt file into csv format using Python. Basically, we need to reshape the wide txt data to long data format, but the..... More


Attached Files

Thumbnail(s)
       

.txt   Inputfile.txt (Size: 21.89 KB / Downloads: 361)
Print this item

  Puzzling error
Posted by: PythonNewbee - Dec-10-2021, 09:21 AM - Forum: General Coding Help - Replies (1)

Hi Guys

Hope you can help me with an error I don't understand.
I have the following code snippet which throws an error I don't understand:

[pyt..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  set -x shell equivalent o... 26 minutes ago ggpf900 pbo75715 General Codin...
  C++ program embedding Pyt... Yesterday, 18:27 Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
Most views
  The best Prog... 576154
  Tutorial Requ... 497741
  Web Scraping ... 440098
  Newbie with P... 383913
  New Users Int... 366496
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+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Diyaseating Today
pbo75715 Today
marineoman Today
marineservice Today
bennyanderson482 Yesterday

User Panel Messages

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