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: finallen321
» Forum threads: 38,821
» Forum posts: 176,020

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
6 minutes ago
» Replies: 1
» Views: 26
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
2 hours ago
» Replies: 9
» Views: 204
IP address for users
Forum: Networking
Last Post: itx_sumeet
Today, 05:53 AM
» Replies: 4
» Views: 7,058
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,882
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 132
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 136
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,290
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 100
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 753

 
  List joining
Posted by: deatz - Dec-05-2022, 07:50 PM - Forum: Homework - Replies (14)

Good day,

I have searched and read and tried options for days... I know it must be simple, yet here I am.

I am creating a list from two user inp..... More

Print this item

  Syntax error
Posted by: tibbj001 - Dec-05-2022, 06:12 PM - Forum: General Coding Help - Replies (2)

I'm getting a Syntax error on the final line, unsure why?

[python]# Function to prepare data for deep learning
def prepare_dl_data(data):
# ..... More

Print this item

  Validating Dataframe Using Second Dataframe
Posted by: tdbozarth - Dec-05-2022, 06:03 PM - Forum: Data Science - No Replies

Hello all,

I am new to Python but not new to programming. I have a datafile of 28k rows x 18cols (skudata) that I am loading into a dataframe (cat..... More

Print this item

  Advent of Code
Posted by: astral_travel - Dec-05-2022, 06:01 PM - Forum: General Coding Help - Replies (29)

hey,
i'm trying the advent of code challange,

i currently have the following code:

[python]
input_file = open("/home/tal/PycharmProjects/pythonProje..... More


Attached Files

.txt   input.txt (Size: 10.22 KB / Downloads: 236)
Print this item

  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync'
Posted by: stsxbel - Dec-05-2022, 02:07 PM - Forum: General Coding Help - Replies (2)

Good afternoon. I installed a new server, installed pymodbus via pip, uploaded my scripts that worked on the old server, but when I start it, I get an..... More

Print this item

  seaching for a library: nondeterministic letter manipulation in sentences
Posted by: Myron - Dec-05-2022, 11:59 AM - Forum: General Coding Help - Replies (2)

I'm looking for a non-deterministic python library for:
Given a sentence string, manipulate it such that its meaning is not changed but the letters a..... More

Print this item

  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: 319)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 6 minutes ago finallen321 noisefloor General Codin...
  Calling python from anoth... 2 hours ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 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... 580348
  Tutorial Requ... 518962
  Web Scraping ... 442768
  Newbie with P... 386947
  New Users Int... 386142
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
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today

User Panel Messages

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