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,341
» Latest member: MatthewRodia
» Forum threads: 38,810
» Forum posts: 175,968

Full Statistics

Online Users
There are currently 315 online users.
» 0 Member(s) | 312 Guest(s)
Bing, Google, AOL

Latest Threads
Larger GUI Program Oragan...
Forum: GUI
Last Post: MilesWeb
52 minutes ago
» Replies: 2
» Views: 387
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
1 hour ago
» Replies: 5
» Views: 2,596
division error
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 2
» Views: 166
"with open(os.path.join(a...
Forum: General Coding Help
Last Post: uek67
Yesterday, 01:13 PM
» Replies: 13
» Views: 559
Albert is Hiring: Remote ...
Forum: Jobs
Last Post: prachi01
Yesterday, 10:55 AM
» Replies: 1
» Views: 1,320
Looking for new hosting s...
Forum: Bar
Last Post: DeaD_EyE
Dec-09-2025, 02:30 PM
» Replies: 16
» Views: 11,132
Optimization Software Eng...
Forum: Jobs
Last Post: bicop
Dec-09-2025, 11:51 AM
» Replies: 0
» Views: 86
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Dec-08-2025, 10:02 PM
» Replies: 0
» Views: 111
Iterator and/or generator...
Forum: General Coding Help
Last Post: noisefloor
Dec-08-2025, 04:30 PM
» Replies: 8
» Views: 483
Graphics error
Forum: General Coding Help
Last Post: woooee
Dec-08-2025, 04:22 PM
» Replies: 2
» Views: 606

 
  Update Image on Button Click
Posted by: the_muffin_man - Nov-04-2024, 11:47 PM - Forum: GUI - Replies (2)

Hi,

I have asked this before and searched online. The answers i am getting are just far beyond where I am up to. My code may not be the most effic..... More

Print this item

  For Loop beginner
Posted by: agoldav - Nov-04-2024, 05:55 PM - Forum: General Coding Help - Replies (2)

I'm just learning to code right now and Im experimenting with For Loops.
I tried this 2 options that I thought are the same but a get different resu..... More

Print this item

Photo General Coding - Bingo Generator
Posted by: Playpatterns - Nov-04-2024, 02:24 PM - Forum: General Coding Help - Replies (8)

I work at a senior nursing home. All we do is play Bingo. I have used every app to call numbers. The residents are complaining that the same numbers a..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to re-register .py file extension to new moved Python dir (on Windows)?
Posted by: pstein - Nov-04-2024, 12:00 PM - Forum: General Coding Help - Replies (5)

Assume I installed Python v3.1.3 in the default installation directory

C:\Program Files\Python\

Now I decide to move this installation directory..... More

Print this item

  Tic Tac Toe Remake
Posted by: menator01 - Nov-04-2024, 01:37 AM - Forum: GUI - Replies (2)

I thought I would re-write my first attempt at tkinter tictactoe.
[s]I've hit a bump. Can go through the first round but, after resetting it doesn't ..... More

Print this item

  Help Python Bot to search a database
Posted by: stream3366 - Nov-04-2024, 12:44 AM - Forum: General Coding Help - Replies (1)

Hello guys.. I'm new here, and I hope I'm posting this at the right section. anyway, Im creating a bot for a platform with this code:

[python]from..... More

Print this item

  Help Refining DataFrame
Posted by: GMAlves - Nov-03-2024, 11:02 PM - Forum: Data Science - Replies (2)

I have a DataFrame that I wish to refine in a way that only the relevant data stays on top. The only way I figured out how to do it was by separating ..... More

Print this item

  Looking for a DDS libraries [Solved]
Posted by: Hyster - Nov-03-2024, 06:53 PM - Forum: General Coding Help - Replies (2)

im looking for DDS libraries that can create {bc3 rgba 8 bpp DXT5: interpolated alpha" + genarated mipmaps}

PIL can create .dds but limited output..... More

Print this item

Question [removed] Python update on a distant machine
Posted by: paul18fr - Nov-03-2024, 04:45 PM - Forum: News and Discussions - No Replies

removed - not relevant

Print this item

  Understanding Key errors
Posted by: JMsc2player - Nov-03-2024, 01:04 AM - Forum: General Coding Help - Replies (1)

Sometimes when I run this code it throws a Key error for "data", other times (without changing anything) it retrieves the data.

[python]
from fli..... More

Print this item

  Funny regex to find primes
Posted by: DeaD_EyE - Nov-02-2024, 08:38 PM - Forum: Bar - No Replies

The idea came from this video: https://www.youtube.com/watch?v=5vbk0TwkokM
He refers also to this very detailed explanation: https://illya.sh/the-cod..... More

Print this item

  alignment ,seems to be a frame in the way [fixed]
Posted by: Hyster - Nov-02-2024, 08:00 PM - Forum: GUI - Replies (2)

   

im having huge trouble getting the 2nd row to line up to the left. the dirt settings frame i can move left with sticky="w" but th..... More


Attached Files

.py   main.py (Size: 22.6 KB / Downloads: 191)
Print this item

Question [SOLVED] [datetime.strptime] ValueError: time data 'foo' does not match format 'bar'
Posted by: Winfried - Nov-02-2024, 09:04 AM - Forum: General Coding Help - Replies (1)

Hello,

The following code works in other scripts that read an RSS feed, but for some reason, this one doesn't work with another site.

As shown, ..... More

Print this item

Heart Horror on TicTacToe
Posted by: revan - Nov-01-2024, 08:42 PM - Forum: Homework - Replies (1)

Hi there !
I'm a frist year IT student.
I have an issue with my IA on my TicTacToe script.
For now, she's working but she's playing twice on his ft..... More


Attached Files

.py   FINALV2.py (Size: 6.81 KB / Downloads: 190)
.py   testia.py (Size: 6.49 KB / Downloads: 188)
Print this item

  List comprehension not working right
Posted by: Cris9855 - Nov-01-2024, 08:13 PM - Forum: General Coding Help - Replies (3)

Hello,
I have written a small snipet using list comprehension, and is not working properly.
I have a dataset that I would like to iterate by row, an..... More

Print this item

  .dds create for mod
Posted by: Hyster - Nov-01-2024, 03:29 PM - Forum: Game Development - No Replies

im way new to python as an FYI (u can tell from the GUI Blush )

i built a script that creates a set of .dds images for a game (world of tanks)..... More


Attached Files

.py   main.py (Size: 21.83 KB / Downloads: 191)
.zip   dds-files.zip (Size: 3.31 KB / Downloads: 209)
Print this item

  How can I show Markdown with locally stored images?
Posted by: njminchin - Oct-31-2024, 10:59 PM - Forum: GUI - No Replies

I'm trying to show markdown within a Qt app which I've got working (it's a bit average with the externally referenced markdown script link...), but I ..... More

Print this item

  How to give widget a left margin within a QHBoxLayout?
Posted by: njminchin - Oct-31-2024, 06:00 AM - Forum: GUI - Replies (2)

I've got a widget placed within a QHBoxLayout, as well as a QGroupBox above it which has the same widgets within that. I want the widgets to align ver..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to make SVG's clickable?
Posted by: njminchin - Oct-31-2024, 03:44 AM - Forum: GUI - Replies (2)

I have an icon shown using a QtSvgWidget, and need to make it clickable but not sure how..

This is my relevant code:
[python]
from PyQt6 import QtSvg..... More

Print this item

  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: 390)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Larger GUI Program Oragan... 52 minutes ago Tuurbo46 MilesWeb GUI
  500 Internal Server error... 1 hour ago ppowell777 MilesWeb Web Scraping ...
  division error 8 hours ago nathanael deanhystad General Codin...
  "with open(os.path.join(a... Yesterday, 13:13 uek67 uek67 General Codin...
  Albert is Hiring: Remote ... Yesterday, 10:55 AlbertApp prachi01 Jobs
  Looking for new hosting s... 12-09, 14:30 Larz60+ DeaD_EyE Bar
  Optimization Software Eng... 12-09, 11:51 bicop bicop Jobs
  scipy.optimize.curve_fit ... 12-08, 22:02 willflanagan willflanagan Data Science
  Iterator and/or generator... 12-08, 16:30 mogplus8 noisefloor General Codin...
  Graphics error 12-08, 16:22 nathanael woooee General Codin...
  An impressive collection ... 12-06, 06:35 Gribouillis Larz60+ Bar
Most views
  The best Prog... 579916
  Tutorial Requ... 515626
  Web Scraping ... 442560
  Newbie with P... 386790
  New Users Int... 383475
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 8197
snippsat 7395
deanhystad 6918
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MatthewRodia Yesterday
signs2go Yesterday
Iqra Yesterday
prachi01 Yesterday
ericAlfonce Yesterday

User Panel Messages

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