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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,021

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Apple, AOL, Google, Google Image

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: braillescribe
10 minutes ago
» Replies: 2
» Views: 23
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 97
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 249
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,073
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,908
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 149
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 85
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 154
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,298
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 119

 
  Real time Detection and Display
Posted by: Gilush - Feb-05-2022, 04:07 PM - Forum: General Coding Help - No Replies

Hello all! :)

I'm trying to automate a mini-game inside 'Star Trek Online' where you have 4 rows and you have to point the mouse on the right row w..... More

Print this item

  Permission issue when using scapy
Posted by: jao - Feb-05-2022, 02:53 PM - Forum: General Coding Help - Replies (3)

Hello, I'm learning the Scapy tool and right from the start I'm having a problem i can't solve

Here's the Python code:

[python]
from scapy.all ..... More

Print this item

  Convert python to Qt c++
Posted by: panoss - Feb-05-2022, 01:14 PM - Forum: GUI - Replies (1)

This is the code I want to convert to Qt c++:
[python]
def createEditor(self, parent, option, index):
# column of combo box 'position'..... More

Print this item

  Boolean: Anybody know why is this True?
Posted by: LilD - Feb-05-2022, 09:40 AM - Forum: General Coding Help - Replies (8)

a, b, c = 9, 10, 11

Print ( 5>a and b<8 or 20>c>9)
>>> True

Print this item

  pyttsx3 problem
Posted by: Tyrel - Feb-05-2022, 08:53 AM - Forum: General Coding Help - No Replies

Good day,

I have made a voice assistant with python using pyttsx3 and converted it to an exe using auto-py-to-exe the voice assistant works perfect..... More

Print this item

Question Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems
Posted by: BrandonKastning - Feb-05-2022, 06:51 AM - Forum: General Coding Help - Replies (4)

Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems

I just installed a fresh Debian 11 Bullseye w/ Pyt..... More

Print this item

  alternative to using request module in python
Posted by: vlearner - Feb-05-2022, 06:00 AM - Forum: General Coding Help - Replies (2)

while using the python tutor site I am trying to import request module. But it is showing following error as shown in the image link.
kindly share th..... More


Attached Files

Thumbnail(s)
   
Print this item

  Loop Dict with inconsistent Keys
Posted by: Personne - Feb-05-2022, 02:44 AM - Forum: General Coding Help - Replies (1)

Hello guys,

I'm 4 days old with Python and Flask, I have a FlaskForm which works pretty well. This form has FieldList with BooleanField in. And I'm n..... More

Print this item

  Storing variables into one file for use in multiple Jupyter notebooks
Posted by: devansing - Feb-05-2022, 01:02 AM - Forum: General Coding Help - Replies (1)

Hi,

I'm working with a bunch of economic indicators (~50) using a couple of APIs and am trying to figure out the best way to compile them as variab..... More

Print this item

  How to iterate Groupby in Python/PySpark
Posted by: DrData82 - Feb-04-2022, 11:10 PM - Forum: General Coding Help - Replies (2)

I have to create several summary tables and include 2 below for simplicity. I'm trying to think of a way to minimize the code...rather than type out 1..... More

Print this item

  Converted Pipe Delimited text file to CSV file
Posted by: atomxkai - Feb-04-2022, 11:06 PM - Forum: General Coding Help - Replies (4)

Hello, I'm trying to add some columns with values such as index but I have an error in line 16. Hope anyone can help. Thanks!

[python]import csv
i..... More

Print this item

  pandas, tabulate, and alignment
Posted by: menator01 - Feb-04-2022, 08:53 PM - Forum: General Coding Help - Replies (3)

I been playing around with pandas and tabulate but, I am not able to figure out how to left align the text other than the first column.
I've searched..... More

Print this item

  shallowcopy of an object
Posted by: usercat123 - Feb-04-2022, 08:30 PM - Forum: General Coding Help - Replies (3)

Can somebody explain to me why in the following code, temp is equal to res after the loop body statement? I have tested it with input [1] and after th..... More

Print this item

  How to update the list of a combo box in a QTableView
Posted by: panoss - Feb-04-2022, 06:11 PM - Forum: GUI - Replies (10)

Panoss about 2 hours ago

I have a problem refreshing the data in the list of a combo box in a QTableView.
When you run the program (I have put all..... More

Print this item

  How to access previous row using itertuples
Posted by: SriRajesh - Feb-04-2022, 02:16 PM - Forum: General Coding Help - Replies (7)

Hi,
I have df with 10K rows, and if I use iterrows its become slower. Then I use itertuples & getattr. How ever I also need to access previous row. ..... More

Print this item

  Append files and add column with last part of each filename
Posted by: NiKirk - Feb-04-2022, 07:17 AM - Forum: General Coding Help - No Replies

I hope one of you are willing to help a complete Python beginner. I have managed to create my first script where I append multiple excel files in a fo..... More

Print this item

  I need to copy all the directories that do not match the pattern
Posted by: tester_V - Feb-04-2022, 04:36 AM - Forum: General Coding Help - Replies (7)

Greetings!
I need to copy all the directories that do not match the pattern:
8 alphanumeric characters all capital, underscore, and the 4 digits at ..... More

Print this item

  Preventing Duplicate Placement in 2D Array
Posted by: nickdavis2017 - Feb-03-2022, 10:37 PM - Forum: General Coding Help - Replies (2)

Hello all,

I'm writing a code to simulate respiratory virus propagation in a population. The code is massive, so attached is a small tidbit of it. Th..... More


Attached Files

.py   vm_placement.py (Size: 607 bytes / Downloads: 303)
Print this item

  arkanoid / breakout clone
Posted by: flash77 - Feb-03-2022, 06:39 PM - Forum: Game Development - Replies (2)

Hello,
I'm trying to code an arkanoid / breakout clone.
I have to check if the ball collides with the paddle or with one of the bricks (Later I want..... More


Attached Files

.txt   ball.txt (Size: 1.41 KB / Downloads: 315)
.txt   brick.txt (Size: 717 bytes / Downloads: 338)
.txt   main.txt (Size: 2.98 KB / Downloads: 325)
.txt   paddle.txt (Size: 506 bytes / Downloads: 307)
Print this item

  can re do this?
Posted by: Skaperen - Feb-03-2022, 06:23 PM - Forum: News and Discussions - Replies (15)

maybe re can do this but regular expressions just make no sense in my mind. i need to split a string with the separator(s) being any co..... More

Print this item

  String Matching Using python
Posted by: SathiyaBeegam - Feb-03-2022, 06:11 PM - Forum: Data Science - Replies (2)

Hi,

I have two files with Item names. I have to match Item name from one file to another using python. I tried fuzzywuzzy and RapidFuzzy, but the m..... More


Attached Files

.xlsx   File_ToMatch.xlsx (Size: 11.72 KB / Downloads: 0)
.xlsx   Master_File.xlsx (Size: 16.06 KB / Downloads: 0)
Print this item

  ModuleNotFoundError only if script is launched by cron
Posted by: Charles33 - Feb-03-2022, 05:19 PM - Forum: General Coding Help - Replies (8)

Hello

I want to launch a python program at start of the system, which uses openCV.
unfortunately, I get a ModuleNotFoundError on cv2 ONLY when the..... More

Print this item

  using Python pyserial
Posted by: ajitnayak87 - Feb-03-2022, 04:58 PM - Forum: General Coding Help - Replies (3)

Here is a sample code is written for pyserial. I need some help in improvising the code.

WSt will have
systemdate
systemtime

Serial data rece..... More

Print this item

  Need Help writing data into Excel format
Posted by: ajitnayak87 - Feb-03-2022, 04:49 PM - Forum: General Coding Help - Replies (8)

I have the below code. I have one counter. if counter less than value set value It should write the value into excel.
in below code I could see coun..... More

Print this item

  Text Order is Kinda Messed Up?
Posted by: Prithak - Feb-03-2022, 04:00 PM - Forum: General Coding Help - No Replies

This code doesn't really work on it's own but you have to make an index.html file with the code below the python code.. Without getting out of context..... More

Print this item

  Getting pip to work
Posted by: hammer - Feb-03-2022, 03:38 PM - Forum: General Coding Help - Replies (8)

I get a syntax error trying to use pip. See several attempts below.

[python]
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linu..... More

Print this item

  Web scraper
Posted by: tomenzo123 - Feb-03-2022, 12:03 PM - Forum: Web Scraping & Web Development - Replies (8)

Hi everyone, so this is my first time ever using python script, and I would like to create an web scraper, to scrap prices, names, dates, and stuff li..... More

Print this item

  Save data frame to .csv df.to.csv()
Posted by: mcva - Feb-03-2022, 11:48 AM - Forum: General Coding Help - Replies (1)

Hi everyone

I need to write a .csv file at each iteration of the following loop. I need to change the name of the .csv file at each iteration. The na..... More

Print this item

  How to immediately kill and restart a thread while using a time.sleep() inside it?
Posted by: philipbergwerf - Feb-03-2022, 11:22 AM - Forum: General Coding Help - Replies (4)

I made this little example where a cursor is blinking on the canvas:
[python]from tkinter import *
from threading import Thread
from time import sleep..... More

Print this item

  How to vectorize a calculation
Posted by: Tuxedo - Feb-03-2022, 01:14 AM - Forum: General Coding Help - Replies (2)

I have a 1D array containing ending values of a financial computation that has n elements and a matrix of inflation factors that has n rows and w colu..... More

Print this item

  Bouncing Ball
Posted by: Fell - Feb-03-2022, 12:15 AM - Forum: GUI - Replies (1)

Hi,

New(ish) Python user here. I'm trying to create a (Windows) program that places a sprite (a small bouncing ball) directly on the screen, on top..... More

Print this item

Bug beginner attempting to make chatbot
Posted by: MonikaDreemur - Feb-02-2022, 09:38 PM - Forum: General Coding Help - Replies (1)

hi! i'm pretty new to python- i mean, i've taken classes, but i haven't taken college-level ones or anything. anyway, could you help me debug this bit..... More

Print this item

  filtering python code the interpreter reads
Posted by: Skaperen - Feb-02-2022, 08:29 PM - Forum: News and Discussions - No Replies

i am looking for a way to run CPython while also having my own script filtering (and changing) the code as it is read from the file. this would be st..... More

Print this item

  How a QMainWindow can open a dialog?
Posted by: panoss - Feb-02-2022, 07:54 PM - Forum: GUI - Replies (4)

I have the following code which has two classes:
-Ui_dialog_in
-myWindow

What I 'm trying to achieve is:
-when myWindow opens, to open a Ui_dia..... More

Print this item

Exclamation Phyton Metin2 Game Left Click not working. Help
Posted by: anonym35 - Feb-02-2022, 07:01 PM - Forum: General Coding Help - No Replies

Hello guys.
After processing the image with phyton in Metin2 game, I want to send the cursor over the image and press the left button. but due to a p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 10 minutes ago braillescribe braillescribe General Codin...
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 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...
Most views
  The best Prog... 580382
  Tutorial Requ... 519220
  Web Scraping ... 442774
  Newbie with P... 386957
  New Users Int... 386330
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
braillescribe Today
aurelio12282025 Today
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today

User Panel Messages

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