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,260
» Latest member: nathanael
» Forum threads: 38,785
» Forum posts: 175,841

Full Statistics

Online Users
There are currently 56 online users.
» 1 Member(s) | 50 Guest(s)
Bing, Google, Apple, Mojeek, snippsat

Latest Threads
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
18 minutes ago
» Replies: 0
» Views: 9
How to make ball stay wit...
Forum: General Coding Help
Last Post: nathanael
1 hour ago
» Replies: 0
» Views: 14
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
5 hours ago
» Replies: 0
» Views: 41
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 10
» Views: 215
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
8 hours ago
» Replies: 3
» Views: 112
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 196
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 381
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 126
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 264
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 414

 
  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

  I'd like to avoid using Net Use
Posted by: tester_V - Feb-19-2021, 08:17 AM - Forum: Networking - Replies (2)

Hi,
Is there any 'easy way' in Python to mount a drive with credentials without using 'NET USE'?
Or make or make windows remember credentials?
Than..... More

Print this item

  creating an object at another objects position
Posted by: gr3yali3n - Feb-19-2021, 06:13 AM - Forum: GUI - Replies (7)

i want to create a small block to be a 'laser' and fire it from the canvas image im using as a ship. i've already created a list to append to and a tt..... More

Print this item

  Help regarding geoJSON
Posted by: vicegb009 - Feb-19-2021, 05:35 AM - Forum: Homework - Replies (2)

Hi! I have a geoJSON file with 160 restaurant location within a city. I have to arrange some specific data sets into columns, e.g. restaurant name, re..... More

Print this item

  Nested if Statement help
Posted by: olliej - Feb-19-2021, 12:40 AM - Forum: General Coding Help - Replies (3)

Hello All,

I understand this is probably a very basic question but I would appreciate any help.

I am working on the logic for some code and crea..... More

Print this item

  Control Mouse and Keyboard Across the Country Without VNC on Target PC
Posted by: Khuber79 - Feb-18-2021, 10:17 PM - Forum: General Coding Help - Replies (5)

Would it be possible to code a piece of software to emulate a Bluetooth Keyboard and Mouse to control another computer from a different part of the wo..... More

Print this item

  If an element of a 'Split' is empty
Posted by: tester_V - Feb-18-2021, 09:47 PM - Forum: General Coding Help - Replies (6)

Hi,
I'm 'splitting' a string and if an 'empty element found I'm trying replacing it with an "EMPTY ELEMENT"
Code:
[python]
import os
l_f = 'ELEM..... More

Print this item

  tkinter -- after() method and return from function -- (python 3)
Posted by: Nick_tkinter - Feb-18-2021, 08:23 PM - Forum: GUI - Replies (12)

Hello.I have 2 problems with my GUI. First of all I have 2 files ,one named GUI_password.py and the other one GUI_main.py.
Code of GUI_password.py be..... More

Print this item

  Help with SQLITE DB
Posted by: Tuxedo - Feb-18-2021, 07:28 PM - Forum: Data Science - Replies (5)

I have a two part question. I've created a DB via SQLITE containing personal financial transactions consisting of transaction date, amount, descripti..... More

Print this item

  Overwhelmed with error message using pandas drop()
Posted by: EmmaRaponi - Feb-18-2021, 06:26 PM - Forum: General Coding Help - Replies (1)

Dear Forum,

I just loaded pandas and am overwhelmed by error messages. I using an input file (type CSV) which contains the following columns: repo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  conditional nested loops 18 minutes ago Skaperen Skaperen News and Disc...
  How to make ball stay wit... 1 hour ago nathanael nathanael General Codin...
  PyQt6 QWidgets and system... 5 hours ago stevecoh1 stevecoh1 GUI
  [solved] re.split issue 5 hours ago paul18fr deanhystad General Codin...
  Please guide me to comple... 8 hours ago pbkurd Larz60+ General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
Most views
  The best Prog... 578970
  Tutorial Requ... 510458
  Web Scraping ... 441986
  Newbie with P... 386007
  New Users Int... 377039
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+ 12108
buran 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nathanael Today
JamesFalkner Today
stevecoh1 Today
Bamboo Today
TomTMH Yesterday

User Panel Messages

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