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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, Mojeek, Internet Archive, AOL

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 1
» Views: 80
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,174
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 07:53 PM
» Replies: 1
» Views: 82
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,629
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 182
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 262
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,632
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 238
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 381

 
  Python in Xcode
Posted by: Gehlker - Oct-31-2024, 02:48 AM - Forum: Tutorial Requests and Submissions - No Replies

I'm trying to run Python projects in Xcode because I really don't want to learn yet another editor. The instructions here:
<https://www.browserstack...... More

Print this item

  Flappy Bird Improvements
Posted by: KickinItWith_JDub - Oct-30-2024, 11:50 PM - Forum: Game Development - Replies (9)

I'm new here and into Python, so bare with me. I coded Flappy Bird following along with Clear Code's YouTube channel (https://www.youtube.com/watch?v=..... More


Attached Files

.py   flappybird.py (Size: 5.79 KB / Downloads: 421)
Print this item

  module 'openpyxl.workbook' has no attribute 'active'
Posted by: lsaavedra21 - Oct-30-2024, 02:36 PM - Forum: General Coding Help - Replies (5)

Hello team,

I am facing with the following issue when trying to download info to excel file, after clicking on hyperlink to download file the brow..... More

Print this item

  Widget Guidance for GUI layout
Posted by: njminchin - Oct-30-2024, 11:44 AM - Forum: GUI - Replies (3)

I have a GUI layout that I want to implement in PyQt6, but I'm a complete Qt n00b and need some guidance.
This is the layout I want to implement:
[a..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Calculate the volume of piles of materials using aerial drone images
Posted by: WtonS - Oct-29-2024, 09:21 PM - Forum: General Coding Help - No Replies

Hello everyone, I’m new here.
I’d like to know if there’s any solution using Python with Machine Learning (ML) or Artificial Intelligence (AI) that c..... More

Print this item

  Install a module to a specific to Python Installation (one of many))
Posted by: tester_V - Oct-28-2024, 10:05 PM - Forum: General Coding Help - Replies (2)

Greetings!
It is kind of confusion to explain. Sorry about that!
I have 4 different Python versions installed on a Windows machine.
Python version ..... More

Print this item

  Shrink Python installation? Extract site-packages from .zip only on demand?
Posted by: pstein - Oct-28-2024, 10:10 AM - Forum: General Coding Help - Replies (4)

I installed recently to full Python on my Windows 10 system.

As I noticed this installation requires huge 4,85 GB (!) disk space.
Ok, I still have..... More

Print this item

  Simple webbot for testing
Posted by: narcpl69 - Oct-28-2024, 07:01 AM - Forum: Jobs - Replies (2)

I need someone who could make bot for me in Python - Selenium or other programming language if You preffer.

used for firefox or chromium

Ok so l..... More

Print this item

  Best way to make built-in functions available to my module functions?
Posted by: Pedroski55 - Oct-28-2024, 04:45 AM - Forum: General Coding Help - Replies (1)

Recently, there was a question about counting the numbers from a picture of 2 dice. I thought that was interesting, so I fiddled with it.

I import ..... More

Print this item

  Comparing two Pandas df’s and returning only changed records
Posted by: hobbycoder - Oct-28-2024, 03:28 AM - Forum: General Coding Help - Replies (1)

df2 contains circa 1M rows and 9 columns. df2 starts life as a copy of df1, and only has changes made to values, with no rows or columns added or del..... More

Print this item

  Docker Flask App on windows system
Posted by: Osaci - Oct-27-2024, 06:12 PM - Forum: Web Scraping & Web Development - No Replies

Hello!

I'm trying to build a flask chat app but facing following issue (on windows)

sending post and get requests works fine locally through
..... More

Print this item

Question Using PIL to resize an image produces no image
Posted by: Calab - Oct-27-2024, 05:16 PM - Forum: GUI - Replies (2)

I am selecting a file using a tkinter file dialog. I open the file, resize it, create a PhotoImage and then update my canvas. I end up getting no imag..... More

Print this item

  Numpy, array(2d,bool), flipping regions.
Posted by: MvGulik - Oct-26-2024, 06:42 PM - Forum: General Coding Help - Replies (2)

I got a numpy 2d bool array. And like to flip(True/False) some array regions. But have not found any hints in numpy docs.

So ... Is there some nump..... More

Print this item

  How to put my game loop into a function?
Posted by: temlotresid6 - Oct-26-2024, 11:45 AM - Forum: Game Development - Replies (11)

I am not sure if this is too much code to post, but this is the most code I've had in a single program so now it's overwhelming trying to solve this. ..... More

Print this item

  python error
Posted by: buraq1 - Oct-26-2024, 09:28 AM - Forum: General Coding Help - Replies (3)

Hi, I am working on an algorithm called Augmented random search (ARS) this is its main code:

[python]def mkdir(base, name):
path = os.path.jo..... More

Print this item

  SourceTrail errors: troubles in use or from the tool itself?
Posted by: paul18fr - Oct-26-2024, 06:06 AM - Forum: News and Discussions - Replies (1)

Hi,

I would like to know if somebody uses SourceTrail for its devs (while it is not supported since 2021)?

I tried to install it from binaries u..... More

Print this item

Question [SOLVED] Same input different output
Posted by: antarling - Oct-25-2024, 10:36 PM - Forum: General Coding Help - Replies (2)

What's the reason?
[python]
def f(a, n):
for i in range(n):
a[i][n // 2] = '*'
a[n // 2][i] = '*'
a[i][i] = '*'
a[i][n - i..... More

Print this item

  Appending lists into lists from function is not working for me
Posted by: BoredBannana - Oct-24-2024, 03:37 PM - Forum: General Coding Help - Replies (2)

Hey guys,

I'd like to preface, that I'm a complete beginner - this is actually my first bit of code outside of isolated lesson structures.

So I ..... More

Print this item

  Best Approach for Viewing PDFs in Python Web Applications?
Posted by: Gokul_18 - Oct-24-2024, 12:57 PM - Forum: Web Scraping & Web Development - No Replies

Hi all,
I’m working on a Python-based web application, and I need to implement a feature to display PDF files directly within the browser. I’ve looke..... More

Print this item

  Trying to get JSON object in python and process it further
Posted by: Creepy - Oct-23-2024, 08:29 PM - Forum: General Coding Help - Replies (2)

Hi,

Am trying to extract a specific field in JSON in python and process it further to send output in e-mail. The problem am facing am able to get t..... More

Print this item

  How to correctly update score based on elapsed time?
Posted by: temlotresid6 - Oct-23-2024, 11:53 AM - Forum: Game Development - Replies (8)

I've tried several methods but haven't been able to get it right at all.

Every 5 seconds the score (starting at 0) goes up by 1. Every 30 seconds, th..... More

Print this item

  Flask web app MySQL runtime error
Posted by: TheTiger - Oct-23-2024, 03:49 AM - Forum: Web Scraping & Web Development - Replies (8)

Hello Python Community

I'm following a tutorial about a Flask web app and trying to connect to MySQL to display a data list (SELECT ...) when I get..... More

Print this item

  png-file in Jupyter
Posted by: bunnkvarken - Oct-22-2024, 02:47 PM - Forum: General Coding Help - No Replies

I want to insert a png-file in Jupyter, but I only get this error message even though I have checked that the name of the file is correct. (and yes, t..... More


Attached Files

Thumbnail(s)
   
Print this item

  Applications config files / Best practices
Posted by: aecordoba - Oct-22-2024, 02:17 PM - Forum: General Coding Help - Replies (2)

Hi there!
I' m newbie in Python applications development.
I'm coding an application that has several modules and I'm looking for the best way to acc..... More

Print this item

  Spyder Tutorial
Posted by: Footman - Oct-22-2024, 01:59 PM - Forum: General Coding Help - Replies (1)

Hi, as a native UK speaker, I find the American accent of the tutorial very difficult to follow. Is there a UK English speaker option/version?

Print this item

  Pipe traceback to a C program
Posted by: Alexandros - Oct-22-2024, 12:32 PM - Forum: General Coding Help - No Replies

I'm trying to embed Python in a C program. It works fine if I simply want to execute something simple. Here's the C code:

[python]#define PY_SSIZE_..... More

Print this item

  How can I position a taichi GUI window on screen?
Posted by: Alkis - Oct-22-2024, 09:24 AM - Forum: Homework - Replies (1)

I have started to work with Taichi Lang package and I couldn't find how to position the GUI window.
A simple example:

[python]
import taichi as ..... More

Print this item

  Running search/replace across Polars dataframe columns efficiently
Posted by: hobbycoder - Oct-21-2024, 07:15 PM - Forum: General Coding Help - Replies (3)

I'm looking to learn more about Polars and hope to leverage Polars more aggressively where possible. With this in mind I'd like to work through a ser..... More

Print this item

  Write json data to csv
Posted by: Olive - Oct-21-2024, 11:51 AM - Forum: General Coding Help - Replies (6)

Hi everyone,
I am stuck with my python code. What i'm trying to do is write some informations in a json format, to a csv file.
It's dealing with GPS..... More

Print this item

  Infinity iterators with itertools module
Posted by: maina - Oct-20-2024, 09:04 PM - Forum: Code sharing - No Replies

An infinite iterator is any iterator that can go on yielding values indefinitely. This means that the iterator will never raise the StopIteration exce..... More

Print this item

  find the average data from everyone in the same year
Posted by: STUdevil - Oct-20-2024, 07:16 PM - Forum: General Coding Help - Replies (11)

have some more problems with this code but i thing if i can overcome this one i can find a way to fix the others as well. have a file with country, ye..... More

Print this item

  How to move an object over time rather than instantly?
Posted by: temlotresid6 - Oct-19-2024, 01:31 PM - Forum: General Coding Help - Replies (3)

I'll post more code if needed, but I'm a bit confused. I'm currently using pygame for this.

I use randint() to spawn objects at random intervals, ..... More

Print this item

  Script to check the syntax of Python files
Posted by: Gribouillis - Oct-19-2024, 08:19 AM - Forum: Code sharing - Replies (3)

The following code is a CLI script to check the syntax of python code. Here is the usage string
[output]usage: check_syntax.py [-h] FILENAME [FILENAM..... More

Print this item

  no popin
Posted by: STUdevil - Oct-19-2024, 06:18 AM - Forum: General Coding Help - Replies (3)

i m working on a shopping cart. i post the whole code because maybe i made a mistake on the top that effect my problem.
by option 3 i need to pop an ..... More

Print this item

  CLI to python code
Posted by: azxo1 - Oct-18-2024, 12:13 PM - Forum: General Coding Help - Replies (11)

Hello Everyone!
I would like to ask for your help in converting the following CLI code to python code.
[python]nc -l -u 3000 | ffmpeg -y -f f32le -..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 8 hours ago BioNanoTech Pedroski55 General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Check if running from she... Yesterday, 19:53 rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580473
  Tutorial Requ... 519998
  Web Scraping ... 442797
  Newbie with P... 387014
  New Users Int... 386774
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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