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,242
» Latest member: johnsonlucas83
» Forum threads: 38,777
» Forum posts: 175,796

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 35 Guest(s)
Applebot, Google, Bing, AOL, Mojeek

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
10 minutes ago
» Replies: 2
» Views: 109
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 1
» Views: 50
Data Science
Forum: Data Science
Last Post: mamta25
9 hours ago
» Replies: 3
» Views: 2,578
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 153
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 136
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 136
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,394
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,384
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,584
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 213

 
  installing anaconda3 fails (failed to create menus)
Posted by: Hikki - Feb-07-2022, 01:38 PM - Forum: General Coding Help - Replies (9)

I have no idea where to ask this but I desperately need to upgrade to python 3 and the rabbit hole just goes on, this time not allowing me to install ..... More

Print this item

Question Opening small size browser with python selenium not work, need help
Posted by: greenpine - Feb-07-2022, 11:36 AM - Forum: General Coding Help - No Replies

Hello;
trying to make python selenium opens browser in smaller size , but somehow the coding is not correct and it does not work,Wall
I am not g..... More

Print this item

  Pyinstaller 3 Python 2
Posted by: mckymntl - Feb-07-2022, 06:28 AM - Forum: General Coding Help - No Replies

Hello,

I used pyinstaller, installed from pip3, to turn a program I wrote in python 2.7 into an executable. This program is a reverse back door. P..... More

Print this item

  Rasp Pi Analog Joystick
Posted by: mmagner2022 - Feb-07-2022, 02:05 AM - Forum: Game Development - Replies (1)

I am currently trying to connect my raspberry pi 3 to an analog joystick controller using an ADC but when I run the code and move the joystick, it alw..... More

Print this item

  question about my pygame code for space shooter
Posted by: Than999 - Feb-07-2022, 12:41 AM - Forum: Game Development - Replies (4)

Hi, I am not sure why when I go and run my code I am getting these two errors:
Terminal Output:
"File "c:\Users\Timothy Han\Documents\Python Projec..... More

Print this item

Question apk file not working on android
Posted by: polya001 - Feb-06-2022, 11:40 PM - Forum: General Coding Help - No Replies

I'm trying to create a apk file of a python application via buildozer. But the apk does not run on android. I decided to run the primitive "Hello worl..... More


Attached Files

.txt   buildozer spec.txt (Size: 15.04 KB / Downloads: 425)
.py   111.py (Size: 244 bytes / Downloads: 330)
Print this item

  Appending Excel column value as CSV file name
Posted by: sh1704 - Feb-06-2022, 10:32 PM - Forum: General Coding Help - No Replies

Hi All,
I am trying to execute a bunch of queries from an excel and loading the result of each queries in individual CSV files. Below is the python c..... More

Print this item

  finding point in m grid
Posted by: jenya56 - Feb-06-2022, 09:00 PM - Forum: General Coding Help - No Replies

I have created mgrid and now I want to find index where the point belongs to.
Note, I entertained this solution but obviously need logical and which ..... More

Print this item

  creating my own file-like object
Posted by: Skaperen - Feb-06-2022, 08:25 PM - Forum: News and Discussions - No Replies

how much must i implement to create a file-like object that can have a reference to it passed along as argument one in open() as well as the file obje..... More

Print this item

  Why does this example need 'self'
Posted by: stealth - Feb-06-2022, 08:04 PM - Forum: General Coding Help - Replies (1)

Hi there

This is a teaching example and I don't understand why I need the 'self' keyword here. Can somebody explain this?

time_and_date.py
- ha..... More


Attached Files

.py   wanduhr_muloe.py (Size: 1.38 KB / Downloads: 299)
.py   time_and_date.py (Size: 3.17 KB / Downloads: 328)
Print this item

  combining lists
Posted by: stealth - Feb-06-2022, 07:55 PM - Forum: General Coding Help - Replies (3)

Hi there

Can somebody explain why my statement for c also results in a list and not in a set (as the set brackets where used)?
(This is just to un..... More

Print this item

  question about my Pygame code
Posted by: Than999 - Feb-06-2022, 04:23 PM - Forum: Game Development - Replies (2)

Hi everyone, I am trying to learn about the Pygame framework by following this Medium article. However, my code so far only shows the game window scr..... More

Print this item

  Query in sqlite database
Posted by: frewil - Feb-06-2022, 04:12 PM - Forum: General Coding Help - Replies (2)

Hello,

I have a database named 'Appartement database' with the table 'Electricite'.
In this table I have three columns: Id ¦ date_facture_elec ¦ m..... More

Print this item

  How to get filtered result using payload in requests?
Posted by: Moto - Feb-06-2022, 12:49 PM - Forum: Web Scraping & Web Development - Replies (5)

I can't get filtered result using payload, I got generic result. In Postman the result is filtered with same payload.

I think I'm doing something w..... More

Print this item

  bug in subset sum algorithm
Posted by: usercat123 - Feb-06-2022, 12:23 PM - Forum: General Coding Help - Replies (3)

Given an array of integers and a value k, return True if there exists a subset of elements of the array that sums up to k.
This is my algorithm. Init..... More

Print this item

  PIL Image im.show() no show!
Posted by: Pedroski55 - Feb-06-2022, 11:32 AM - Forum: General Coding Help - Replies (6)

For my little OMR programme, I need to crop the image I have into columns. Normally this works no problem.

The image is an A4 size .jpg. The 'bubbl..... More

Print this item

  breakout clone pygame
Posted by: flash77 - Feb-06-2022, 06:46 AM - Forum: Game Development - Replies (2)

Hello,
I'm trying to program a breakout clone.

With lives = ball.move(lives) I'm trying to send "lives" to the move method of Ball.

But an erro..... More


Attached Files

.txt   ball.txt (Size: 1.45 KB / Downloads: 313)
.txt   main.txt (Size: 3 KB / Downloads: 301)
Print this item

  How to get every IP found by a Scapy traceroute?
Posted by: jao - Feb-06-2022, 01:00 AM - Forum: Networking - No Replies

Hello, is it possible to get every IP found by a Scapy traceroute on a route?

My Python code:

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

Print this item

  is stdin a console
Posted by: Skaperen - Feb-06-2022, 12:29 AM - Forum: News and Discussions - Replies (2)

is there a portable way to determine if reading stdin will read from the console? i know how to do this in Linux and BSD, but no..... More

Print this item

  Beautifulsoup4 help
Posted by: samuelbachorik - Feb-05-2022, 06:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi iam trying to scrape some info from websites and i want to ask somebody who knows beautifulsoup if can show me how to get that price from this code..... More

Print this item

  help creating an array
Posted by: jenya56 - Feb-05-2022, 05:17 PM - Forum: General Coding Help - No Replies

I have a question. I have a dataframe in format ['x','y','z']. The columns have 100 values in them.
I also have created a regular grid in the follow..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 10 minutes ago tsgiannis tsgiannis GUI
  [split] print two differe... 9 hours ago Reema Gribouillis General Codin...
  Data Science 9 hours ago Oshadha mamta25 Data Science
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578737
  Tutorial Requ... 509451
  Web Scraping ... 441873
  Newbie with P... 385836
  New Users Int... 375394
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today

User Panel Messages

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