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,036

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 22 Guest(s)
Bing, Google, Applebot, Facebook, AOL

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 2
» Views: 131
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 2
» Views: 111
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,180
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,643
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 195
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,627
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 280
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,640
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 254
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 392

 
  drawing images onto pygame window
Posted by: djwilson0495 - Feb-22-2021, 10:12 AM - Forum: Game Development - Replies (1)

Hi I'm trying to draw a grid of stars onto a pygame screen as a background. The code runs but the pygame window is empty. Here is my code:

[python..... More

Print this item

Question Mouseover(Hover/Float) text in PDF documents
Posted by: ak52 - Feb-22-2021, 08:45 AM - Forum: General Coding Help - Replies (1)

Hello,
Is there anyway to insert a mouse over text on certain words in a pfd document.
There are a few custom made adobe scripts which do this but n..... More

Print this item

  Finding square roots using long division.
Posted by: jahuja73 - Feb-22-2021, 05:01 AM - Forum: Homework - Replies (10)

Below is code for long division based finding square root.
But, it fails for decimals, as well as non-square integers.
I mean it gives the same result..... More

Print this item

  Assistance with running a few lines of code at an EXACT time
Posted by: nethatar - Feb-22-2021, 04:33 AM - Forum: General Coding Help - Replies (5)

I'm not sure if this is the correct area, so I apologize, anyways, I'm new to learning python, for the past 2 days I've been looking for an answer to ..... More

Print this item

  Indexing [::-1] to Reverse ALL 2D Array Rows, ALL 3D, 4D Array Columns & Rows Python
Posted by: Jeremy7 - Feb-22-2021, 04:10 AM - Forum: General Coding Help - Replies (8)

How do you get indexing [::-1] to reverse ALL 2D array rows and ALL 3D and 4D array columns and rows simultaneously? I can only get indexing [::-1] to..... More

Print this item

  Moving files to Folders
Posted by: giddyhead - Feb-22-2021, 02:10 AM - Forum: General Coding Help - Replies (13)

Hello everyone, I am trying move files based upon a the names in the spreadsheet. The files in the folder also has the same name. What I want to do ..... More

Print this item

Exclamation Compare values in a for loop.
Posted by: penahuse - Feb-22-2021, 12:57 AM - Forum: General Coding Help - Replies (1)

Hey!

Im working on this code that get a list o templates and compare(OpenCV template matching) to a image searching for templates.

The precision is ..... More

Print this item

Thumbs Up Loops Loops Loops
Posted by: Gilush - Feb-22-2021, 12:34 AM - Forum: General Coding Help - Replies (5)

Hey guys,
I have this empty port list that I want to fill with 10 random ports in a pre-defined range with a random N step so i've managed to, somehow..... More

Print this item

  Python Desktop Application that will connect o Azure SQL Database
Posted by: thewolf - Feb-21-2021, 10:59 PM - Forum: Web Scraping & Web Development - Replies (7)

Edit: Sorry I may have placed this in the wrong forum OU. Please move if needed. Thank you

Hey everyone,

I'm creating a simple desktop application t..... More

Print this item

  tkinter slider question
Posted by: Nick_tkinter - Feb-21-2021, 10:05 PM - Forum: GUI - Replies (1)

Hello guys.I have a question about a tutorial I saw and I don't understand something.
So, I have the following code that has 2 sliders.
[python]from..... More

Print this item

  mixer failing in 2.0
Posted by: fmr300 - Feb-21-2021, 05:59 PM - Forum: Game Development - Replies (5)

Just updated to Pygame 2 and have a problem that perhaps somebody has run into before.
Here's the simple code that's failing, and the shell output..... More

Print this item

  Using Dictionary to Test Evenness of Distribution Generated by Randint Function
Posted by: new_coder_231013 - Feb-21-2021, 04:09 PM - Forum: General Coding Help - Replies (6)

Hi,

This is my second post on any sort of coding website and I'm an absolute beginner at programming. I'm trying to learn Python and am currently a..... More

Print this item

  tkinter
Posted by: nashenas - Feb-21-2021, 03:41 PM - Forum: GUI - Replies (3)

Hello!
I use tekinter
Using Entry in Tekinter, I want to change the name of my label with exactly what I enter. Now the problem is that I want to do..... More

Print this item

  My GUI crashes after command
Posted by: MLGpotato - Feb-21-2021, 02:55 PM - Forum: GUI - Replies (1)

Hello. I a new to python and this forum. I am making a little game and I do not understand why but my GUI crashes after it completes the code or I wan..... More

Print this item

  changing stylesheet according to variable in views
Posted by: AhmdMhmdWddh - Feb-21-2021, 12:57 PM - Forum: Web Scraping & Web Development - No Replies

will be Grateful for any lead to carry on my road into Django.

## Trying to change the stylesheet page according to a variable in the views.
## On..... More

Print this item

Question Forum about HTML
Posted by: SpongeB0B - Feb-21-2021, 10:59 AM - Forum: Bar - Replies (2)

Hi everyone,

Which forum are you using for your HTML coding question ?

[size=x-small]Please don't mention Stackoverflow or Reddit , see here -->..... More

Print this item

  Possible to dynamically pass arguments to a function?
Posted by: grimm1111 - Feb-21-2021, 05:26 AM - Forum: General Coding Help - Replies (2)

Hello,

Probably a newbie question here.... but is there any way to dynamically pass arguments to a function? I am accessing a class from someone e..... More

Print this item

  How to get the size of resizable window?
Posted by: michael1789 - Feb-21-2021, 02:28 AM - Forum: Game Development - Replies (2)

I want to center things in a resizable window.

.get_rect() and pygame.display.get_surface().get_size() both alw..... More

Print this item

  doc for os.stat() lacks exceptions
Posted by: Skaperen - Feb-20-2021, 11:59 PM - Forum: News and Discussions - Replies (1)

while reading documentation for os.stat() and os.lstat() i don't see what exceptions it might raise or what errors could cause a return ..... More

Print this item

  looping wordlist keeps repeating when word not found
Posted by: OTH - Feb-20-2021, 05:25 PM - Forum: General Coding Help - Replies (1)

Hi,

I have a excel password recovery tool that I have built and it keeps looping through the same wordlist even though it has not been found, what am..... More

Print this item

  Simple wxpython digital clock
Posted by: menator01 - Feb-20-2021, 05:12 PM - Forum: Code sharing - Replies (2)

[python]
#! /usr/bin/env python3

import wx
import time
import wx.gizmos as gizmos

def do_timer(event):
cur = time.localtime(time.time())..... More

Print this item

  PyQt5 adding image
Posted by: thewolf - Feb-20-2021, 03:49 PM - Forum: GUI - Replies (3)

I'm trying to add an image to my login window here and I'm not sure sure how to go about adding it on line 30. addWidget of course doesn't work but no..... More

Print this item

  Trouble downloading and using any text editors
Posted by: edwarmax001 - Feb-20-2021, 03:06 PM - Forum: Homework - Replies (1)

I am just starting to learn Python and my Mac computer can't find the python programming to run. I have downloaded python 3 several times trying to se..... More

Print this item

  pandas.to_datetime: Combine data from 2 columns
Posted by: ju21878436312 - Feb-20-2021, 02:08 PM - Forum: Data Science - Replies (1)

I would like to combine data from 2 columns

The file "minimal_in.csv" is the following:

[python]Year,Time
29.01.2001,13:31:24
29.01.20..... More

Print this item

  Pandas: how to split one row of data to multiple rows and columns in Python
Posted by: GerardMoussendo - Feb-20-2021, 01:34 PM - Forum: General Coding Help - Replies (4)

I have a set of data with one row and several columns. I want to split it into multiple rows and 10 columns (kind of multiple dimensional). Here an ex..... More

Print this item

  Pandas datetime: add timedelta
Posted by: ju21878436312 - Feb-20-2021, 08:18 AM - Forum: Data Science - Replies (3)

Hey out there,

Question 1:

Hi there, I've created timedeltas

df['Time'] = df['Time'] - df.Time.min()
and would now like to add a..... More

Print this item

  splitting lines, need to add element of same kind
Posted by: tester_V - Feb-20-2021, 04:46 AM - Forum: General Coding Help - Replies (6)

Hi,
I need to 'sum' all elements by their kind.
All dogs, cats, and fishes.
I Cannot wrap around my mind around this small task.
Here is a kind of..... More

Print this item

  in a login interface when i try login with a user supposed to say test123 but nothing
Posted by: NullAdmin - Feb-20-2021, 02:54 AM - Forum: General Coding Help - Replies (3)

SOLVED
first time in python forum
i would say im fairly intermidiate to python, so this problem happened:
my code:

[python]
#Toggling Off Shell
toggl..... More

Print this item

Question Google Foobar- Code works in my IDE but not in foobar. Static method?
Posted by: pr3ttykitty - Feb-20-2021, 02:42 AM - Forum: General Coding Help - Replies (4)

Hello!

I am doing one of the Google foobar challenges and my code returns the right values in my IDE, but not in foobar. I'm new to python and thin..... More

Print this item

  mpv window freeze before video end
Posted by: rfeyer - Feb-19-2021, 11:27 PM - Forum: GUI - Replies (7)

The code below works to play a video file (did not include the video file here), but problem is: If I pause the video by right clicking, then 'x' out ..... More

Print this item

  While Loop Variable Freezing?
Posted by: stylingpat - Feb-19-2021, 10:44 PM - Forum: General Coding Help - Replies (13)

Hey guys, I'm a newb. I'm trying to get this software to run on my computer but I seem to keep getting stuck in my while loop.

This is for trading..... More

Print this item

  Pyinstaller 4.2 produced exe containing viruses ?
Posted by: kevpython - Feb-19-2021, 05:46 PM - Forum: General Coding Help - Replies (3)

I recently updated my old python vers and latest version and also latest python packages.
Now when I use Pyinstaller 4.2 (latest version installed wit..... More

Print this item

  '|' character within Regex returns a tuple?
Posted by: pprod - Feb-19-2021, 04:17 PM - Forum: General Coding Help - Replies (10)

Hi,
Using the '|' character within a Regex is giving me an undesirable result that I have been unable to avoid. For example, consider a 2-page file w..... More

Print this item

  Using pip correctly in Windows and Mac
Posted by: bytecrunch - Feb-19-2021, 01:31 PM - Forum: General Coding Help - Replies (4)

Hello Forum,
I would like to see if anyone could confirm which command prompt instructions are correct as far as using pip when installing modules or..... More

Print this item

  Invalid syntax error - need help fixing
Posted by: calgk01 - Feb-19-2021, 11:05 AM - Forum: General Coding Help - Replies (3)

[python]j = 0
while j < 36:
A[j] = (0.04*(x[j]**2))+(0.04*(y[j]**2))
print(type(A))
B[j] = (x[j]**2)+(y[j]**2)
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 6 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 6 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  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... 580481
  Tutorial Requ... 520060
  Web Scraping ... 442797
  Newbie with P... 387016
  New Users Int... 386804
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