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,931
» Latest member: Lenowell
» Forum threads: 38,720
» Forum posts: 175,500

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 44 Guest(s)
Bing, Google, AOL, Lenowell

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
4 minutes ago
» Replies: 1
» Views: 322
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
10 hours ago
» Replies: 8
» Views: 2,289
real community
Forum: News and Discussions
Last Post: decuser
10 hours ago
» Replies: 3
» Views: 1,427
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 235
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 81
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,765
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,012
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 706
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,057
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Sep-14-2025, 11:16 AM
» Replies: 4
» Views: 15,941

 
  Is it possible to see dependencies before installing a package?
Posted by: quazirfan - Dec-06-2022, 06:31 AM - Forum: General Coding Help - Replies (4)

I want to see the list of dependencies(packages) a given package depends on before installing the package.

For example, pandas depend on numpy. Is ..... More

Print this item

  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: 228)
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: 301)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 4 minutes ago decuser Lenowell News and Disc...
  403 Error 10 hours ago CaptainNewb snippsat Web Scraping ...
  real community 10 hours ago decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
  New to the field 09-14, 08:15 Polybunny Larz60+ News and Disc...
Most views
  The best Prog... 575764
  Tutorial Requ... 496981
  Web Scraping ... 439783
  Newbie with P... 383456
  New Users Int... 365165
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday
faithsally Yesterday

User Panel Messages

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