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,919
» Latest member: Erikventura
» Forum threads: 38,718
» Forum posts: 175,486

Full Statistics

Online Users
There are currently 46 online users.
» 2 Member(s) | 36 Guest(s)
Bing, Google, Mojeek, AOL, AOL, Internet Archive, Apple, Erikventura, Pedroski55

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: fred1232
3 hours ago
» Replies: 0
» Views: 33
New to Python and Pygame
Forum: Game Development
Last Post: deanhystad
6 hours ago
» Replies: 6
» Views: 1,295
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
10 hours ago
» Replies: 5
» Views: 368
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Today, 06:11 AM
» Replies: 5
» Views: 1,150
New to the field
Forum: News and Discussions
Last Post: Polybunny
Today, 01:31 AM
» Replies: 0
» Views: 110
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,305
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 874
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Yesterday, 08:36 AM
» Replies: 1
» Views: 2,156
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-11-2025, 08:39 PM
» Replies: 6
» Views: 1,530
pip fails to install PyGO...
Forum: General Coding Help
Last Post: Larz60+
Sep-11-2025, 10:50 AM
» Replies: 2
» Views: 1,841

 
  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 (10)

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

  Visual Studio 2022 support for python?
Posted by: wardh - Oct-18-2024, 04:35 AM - Forum: GUI - Replies (6)

Hi,

I have installed Microsoft Visual Studio Community 2022 17.11.5

My questions are:

1. Python Version.

My questions are does this suppor..... More

Print this item

  compile only
Posted by: Skaperen - Oct-17-2024, 11:30 PM - Forum: News and Discussions - Replies (4)

i last did this long ago and forgot how to do it. was it a python command option? [u]i want to compile a script without running it to check for any ..... More

Print this item

  webbrowser open multiple sites incognito
Posted by: atsitras - Oct-17-2024, 04:56 PM - Forum: Homework - Replies (4)

The following code opens all the pages in a single browser, in tabs, in one go.
i would like to have it incognito. here is my working code:
[python]..... More

Print this item

  update the colorbar visualsation from the previous to the new one
Posted by: aizu - Oct-17-2024, 01:31 PM - Forum: Data Science - No Replies

hi,

I'm currently trying to create a Python code that visualizes the mandelbrot set and Julia set fractal in subplots where the Julia set will be p..... More

Print this item

  Building a Dota 2 Match Outcome Predictor Using Python
Posted by: masterhood13 - Oct-17-2024, 06:14 AM - Forum: Data Science - Replies (1)

I recently completed a project using Python to build a Dota 2 Match Outcome Predictor. The process involved data collection, feature engineering, and ..... More

Print this item

  default file for print() in with clause
Posted by: Skaperen - Oct-17-2024, 12:16 AM - Forum: News and Discussions - Replies (1)

recently i wrote a block of code like:
[python]
with open(some_file_name,'w') as f:
print('line one',file=f)
print('line two',file=f)
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 3 hours ago fred1232 fred1232 General Codin...
  New to Python and Pygame 6 hours ago JMcM deanhystad Game Developm...
  Select Python comment (#)... 10 hours ago SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Today, 06:11 Alislugacool MilesWeb General Codin...
  New to the field Today, 01:31 Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... Yesterday, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... Yesterday, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... Yesterday, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
  pip fails to install PyGO... 09-11, 10:50 voidtrance Larz60+ General Codin...
  how to manage crypto trad... 09-11, 06:01 Mikeardy Mercyto General Codin...
Most views
  The best Prog... 575420
  Tutorial Requ... 496268
  Web Scraping ... 439529
  Newbie with P... 383130
  New Users Int... 363915
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+ 12086
buran 8174
snippsat 7366
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Erikventura Today
aidajnrz7704 Today
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday

User Panel Messages

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