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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 46 online users.
» 1 Member(s) | 42 Guest(s)
Bing, Google, Internet Archive, neovibeus4Dip

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 2
» Views: 40
New to python and coding
Forum: Homework
Last Post: jefsummers
9 hours ago
» Replies: 4
» Views: 114
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 6
» Views: 199
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 325
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 286
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 115
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,624
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 216
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 199
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,384

 
  tools
Posted by: lindabelmore - Nov-06-2024, 04:26 PM - Forum: Bar - Replies (1)

Hi! I need an SEO tool for my small business that provides site analysis with options to customize the features. I’d love to hear from anyone who has ..... More

Print this item

  Regarding Defined Functions
Posted by: Hudjefa - Nov-05-2024, 01:10 AM - Forum: General Coding Help - Replies (1)

I wrote a Python code for what's called rerandomization in statistics. See below:

[python]number_data = int(input("Enter size of data for each grou..... More

Print this item

  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: 183)
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: 182)
.py   testia.py (Size: 6.49 KB / Downloads: 179)
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: 179)
.zip   dds-files.zip (Size: 3.31 KB / Downloads: 198)
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: 344)
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 (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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 2 hours ago sarbogast deanhystad General Codin...
  New to python and coding 9 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 11 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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...
Most views
  The best Prog... 578865
  Tutorial Requ... 509981
  Web Scraping ... 441924
  Newbie with P... 385935
  New Users Int... 376384
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Today
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday

User Panel Messages

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