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,526
» Latest member: tomanadoveza
» Forum threads: 38,660
» Forum posts: 175,187

Full Statistics

Online Users
There are currently 349 online users.
» 3 Member(s) | 337 Guest(s)
Applebot, Yandex, AOL, Bing, Baidu, Google, AOL, Mojeek, snippsat, Axel_Erfurt, tomanadoveza

Latest Threads
Qt Event Filtering
Forum: GUI
Last Post: Axel_Erfurt
51 minutes ago
» Replies: 1
» Views: 27
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 7
» Views: 361
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 04:00 PM
» Replies: 3
» Views: 225
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 02:41 AM
» Replies: 5
» Views: 228
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 3,980
Custom Sorting List of Di...
Forum: Homework
Last Post: Larz60+
Jul-11-2025, 03:34 PM
» Replies: 1
» Views: 141
Coding Standards
Forum: General Coding Help
Last Post: snippsat
Jul-11-2025, 01:12 PM
» Replies: 2
» Views: 222
Make code run faster: poi...
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:24 AM
» Replies: 3
» Views: 763
Cleaning my code to make ...
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:20 AM
» Replies: 14
» Views: 4,340
Data cleaning help
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:18 AM
» Replies: 2
» Views: 2,915

 
  Python Logic Error
Posted by: rmfooty - Dec-05-2022, 11:38 AM - Forum: General Coding Help - Replies (3)

Hi all. I came across a really weird error in python. I have tried updating to the latest version of python. When the following code is run, the resul..... More

Print this item

  Trying to loop through code to plot seaborn line plots across multiple subplots
Posted by: eyavuz21 - Dec-05-2022, 10:46 AM - Forum: General Coding Help - No Replies

Hey all,

I am trying to loop through a dataframe 'out' and create a separate subplot for each group and level.

There are 35 gro..... More

Print this item

  (off) and (on) sequence
Posted by: AlexPython - Dec-05-2022, 01:48 AM - Forum: General Coding Help - Replies (6)

Hello. What I trying to do is a sequence of nodes that will be connected to each other and pass power if they are on.
I tried doing it as if I was do..... More

Print this item

  Add group number for duplicates
Posted by: atomxkai - Dec-04-2022, 11:14 PM - Forum: Data Science - Replies (2)

Hi, looking how to add sequence and group them by numbers for duplicates.

index raw count group number filename Number of Pages CRITERIA
0 1 1 1 f..... More


Attached Files

Thumbnail(s)
   
Print this item

Exclamation How could I fix these errors ?
Posted by: needhelp - Dec-04-2022, 05:38 PM - Forum: General Coding Help - Replies (3)

Hello, I have a problem so I hope some programmers can help me solve it.

Basically I run this:

[python]import whisper

model = whisper.load_mo..... More

Print this item

  Push video to left and remove background
Posted by: finndude - Dec-04-2022, 05:06 PM - Forum: General Coding Help - Replies (12)

Hi All,

I have the below code:

[python]

from tkinter import *
from tkinter.filedialog import askopenfile
from tkVideoPlayer import TkinterV..... More

Print this item

  Test post of Thread as user Xenex_ultra122
Posted by: Xenex_ultra122 - Dec-04-2022, 02:53 PM - Forum: Board - No Replies

Test 12345678p
Test bye @snippsat as user Xenex_ultra122

Print this item

  [Solved]Help to iterate through code
Posted by: Extra - Dec-04-2022, 01:57 AM - Forum: General Coding Help - Replies (7)

Hello,

I have a code that tracks the price of a product on Amazon.

I made an SQLite table that stores the: Product, URL, Alert_Price.

Further..... More

Print this item

  [Solved]Help with BeautifulSoup.getText() Error
Posted by: Extra - Dec-04-2022, 12:06 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

I'm trying to test this code that checks the price of an Amazon product, but when I try running it, I get this error:
[error]
line 31, in ..... More

Print this item

  start and stop websocket-client using button GUI
Posted by: zinho - Dec-03-2022, 11:15 PM - Forum: GUI - Replies (5)

Hi.

I have 1 script that get data from Binance using websocket-client lib and save into data base, then second script get the best COIN from data b..... More

Print this item

  Make code non-blocking?
Posted by: Extra - Dec-03-2022, 10:06 PM - Forum: General Coding Help - No Replies

Hello,

I have this chunk of code:
[python]
#-------------------------------------------------------------------------------------
# ..... More

Print this item

  Dataframe Comparison
Posted by: tdbozarth - Dec-03-2022, 09:02 PM - Forum: General Coding Help - Replies (7)

Hi all. I am pretty new to this language. I have a dataframe of 18col x 36k rows containing SKU data. Within this data there are Category and Subca..... More

Print this item

  Trying to create a visual rock paper scissors game
Posted by: urmom33 - Dec-03-2022, 06:26 PM - Forum: General Coding Help - Replies (1)

Hello everyone, hope y'all are good. Today I tried creating the classic rock paper scissors game, but not in the console, but opening a window which s..... More


Attached Files
Image(s)
           
Print this item

  Principles
Posted by: astral_travel - Dec-03-2022, 06:08 PM - Forum: News and Discussions - Replies (9)

Hi,

Say, is there a principle for simplification of code ?

Print this item

  an error while copying code
Posted by: astral_travel - Dec-03-2022, 03:00 PM - Forum: General Coding Help - Replies (9)

i don't know if to call it an error,
but when i try to copy code from messages in the forum - it writes me this patch named - NBSP
which takes up al..... More


Attached Files

Thumbnail(s)
   
Print this item

  reading a table which is of type string
Posted by: saisankalpj - Dec-03-2022, 10:55 AM - Forum: General Coding Help - Replies (2)

[python]
Date Count persons
------------------- ---------- -------
2022/11/01-12:48:06 51 girls
2022/11/01-12:48:11 ..... More

Print this item

  Get sender of email
Posted by: Pedroski55 - Dec-03-2022, 09:22 AM - Forum: General Coding Help - No Replies

I am trying to make imaplib work for me. I read several online guides and did what they said.

Yesterday, I could get the subject and the sender, but ..... More

Print this item

  TypeError: 'float' object is not callable
Posted by: TimofeyKolpakov - Dec-02-2022, 11:23 PM - Forum: General Coding Help - Replies (3)

The first time everything works, but when I try to run the code on the second round, it gives an error after entering the variable "average". What cou..... More

Print this item

  computer & programming jokes !
Posted by: astral_travel - Dec-02-2022, 07:50 PM - Forum: Bar - Replies (1)

a friend of mine who works in QA told me this joke -

A kid comes to his mom, who is a programmer, and asks her why does the sun rise in the east a..... More

Print this item

Shocked Why this code does not go into an infinite loop?
Posted by: 2367409125 - Dec-02-2022, 05:32 PM - Forum: General Coding Help - Replies (2)

[python]
import time
def time_master(func):
def call_func():
print("start program")
start = time.time()
func()
..... More

Print this item

  List of random numbers
Posted by: astral_travel - Dec-02-2022, 02:42 PM - Forum: General Coding Help - Replies (17)

Hi,
i have the following code:

[python]
import random


def newlist(x):
y = []
for i in x:
if i not in y:
y.ap..... More

Print this item

  CustomSortFilterProxyModel Class Using
Posted by: hasantr - Dec-02-2022, 06:39 AM - Forum: GUI - Replies (2)

Hello friends. I tried very hard to adapt this class to a list but I couldn't do it, I'm new to QT, my OOP knowledge is not enough. The developer did ..... More

Print this item

  How could I fix this error?
Posted by: urmom33 - Dec-01-2022, 06:36 PM - Forum: General Coding Help - Replies (4)

Hello everyone, I'm new at python, and as I wanted to learn some basic python, I decided to create a project using python turtle. I spent some hours a..... More

Print this item

  Shallow copy question
Posted by: Calflo - Dec-01-2022, 05:09 PM - Forum: General Coding Help - Replies (1)

Taking coursea class and not sure I understand the following. In the code example below I don't understand why 'marsupials' is added to the variable..... More

Print this item

  How to loop through all excel files and sheets in folder
Posted by: jadelola - Dec-01-2022, 12:48 PM - Forum: General Coding Help - Replies (1)

Using python 3. I need to loop through a folder that contains excel files and each file has multiple sheets. How do I loop through all the files and a..... More

Print this item

  Trying to Get Arduino sensor data over to excel using Python.
Posted by: eh5713 - Dec-01-2022, 05:13 AM - Forum: General Coding Help - Replies (1)

I have most of the code written. I want to add the first two columns of the csv file to be date and time. And, have DATE and TIME in the headers. Whe..... More


Attached Files

.csv   file.csv (Size: 378 bytes / Downloads: 285)
Print this item

  Mapper between python and GraphQL
Posted by: dapalex - Dec-01-2022, 01:29 AM - Forum: Code sharing - No Replies

I developed a library that acts as a mapper between python and GraphQL languages for GraphQL clients allowing a code-first approach when fetching data..... More

Print this item

  It is again THAT time of the year...
Posted by: buran - Nov-30-2022, 09:31 PM - Forum: News and Discussions - Replies (3)

https://adventofcode.com/

just a reminder :-)

Print this item

  Reading All The RAW Data Inside a PDF
Posted by: NBAComputerMan - Nov-30-2022, 06:20 PM - Forum: General Coding Help - Replies (4)

Hi, can anyone suggest code that I can use that will return all the raw data in a PDF (including any special tags/mark up applied to text).

Appreci..... More

Print this item

  Create UI interface to show a web page
Posted by: denissanga - Nov-30-2022, 03:24 PM - Forum: GUI - No Replies

Hi all,
I would like to create a python ui to show a web page with link hidden. In particular I created a node-red dashboard and I would install on c..... More

Print this item

  AR roots for VAR coefficients
Posted by: Scott - Nov-30-2022, 12:10 AM - Forum: Data Science - Replies (2)

Hi everyone,

Does anyone know if there is a python equivalent to this r code:

https://robjhyndman.com/hyndsight/arma-roots/

Thanks

Print this item

Question Emacs 28 and venv
Posted by: pisterpesto - Nov-29-2022, 10:12 PM - Forum: News and Discussions - Replies (1)

I am hoping for a fellow Emacs user being here.

I would be very happy if something could explain to me dump terms how I get Emacs to be aware a sta..... More

Print this item

  i2c on Raspberry Pi 4 - MCP23017 - Arduino Mega
Posted by: DigitalID - Nov-29-2022, 07:41 PM - Forum: General Coding Help - Replies (3)

Greetings,

I am having the hardest time trying to find a good sample code to start expanding my GPIOs on my Raspberry Pi 4. The problem is I am not..... More

Print this item

  Meme API
Posted by: Rikkert - Nov-29-2022, 04:17 PM - Forum: Homework - No Replies

Hello

I'm a beginning student who started programming.
For school we need to work with 2 api's. I'm using Discord and meme-api.herokuapp.
I am able t..... More

Print this item

  is it possible to copy image from email and place into excel file?
Posted by: cubangt - Nov-29-2022, 04:03 PM - Forum: General Coding Help - Replies (3)

So we have a daily email from 3rd party that has a statistics graph embedded in the body of the mail we receive. We have a daily dashboard that we dis..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Qt Event Filtering 51 minutes ago deanhystad Axel_Erfurt GUI
  Convert .pdf to .txt 3 hours ago vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... Yesterday, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... Yesterday, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Custom Sorting List of Di... 07-11, 15:34 aryasinner Larz60+ Homework
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
  Make code run faster: poi... 07-11, 07:24 Bennygib FrankBuckland General Codin...
  Cleaning my code to make ... 07-11, 07:20 BSDevo FrankBuckland General Codin...
  Data cleaning help 07-11, 07:18 ClimbAddict FrankBuckland General Codin...
  Data cleaning and analysy... 07-11, 00:13 siriuslight Pedroski55 General Codin...
Most views
  The best Prog... 572637
  Tutorial Requ... 485675
  Web Scraping ... 437098
  Newbie with P... 380026
  Thread remain... 351368
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7351
deanhystad 6854
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tomanadoveza Today
zaelizabethwift4333 Today
lessonanthony Today
sitedata Today
natalishtolze9977 Yesterday

User Panel Messages

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