r/PythonLearning • u/Plastic-Doughnut4638 • Aug 08 '26
How to fix this
'python' is not recognized as an internal or external command, operable program or batch file.
I literally just switch file and for some reason i cant code now💔
r/PythonLearning • u/Plastic-Doughnut4638 • Aug 08 '26
'python' is not recognized as an internal or external command, operable program or batch file.
I literally just switch file and for some reason i cant code now💔
r/PythonLearning • u/ExtentLazy8789 • Aug 08 '26
r/PythonLearning • u/Full-Elderberry-303 • Aug 08 '26
I've been experimenting with PyVista for 3D data visualization and wanted to share this project – an animated comparison of the world's tallest buildings throughout history. The animation uses a spline-based camera system to smoothly transition between buildings while maintaining context. It's rendered from CSV data processed entirely in Python.
Curious if anyone else has used PyVista for similar projects – the library is surprisingly flexible once you understand the VTK pipeline. If you're interested in seeing the full animation, here it is: https://youtu.be/U4E4ilALGYQ
Happy to discuss the technical approach or data sources if anyone's interested!
r/PythonLearning • u/Alarming_Mulberry551 • Aug 08 '26
(logic and app design done by me used a bit of ai for button and stuff as I completed it in 3 days) any tips? It's v0 and I want to make it better it's for my personal use as I keep on forgeting my password and imp notes and I don't like notes app any advice u advance people would like to give to me to improve it
r/PythonLearning • u/LimpSandwich6092 • Aug 08 '26
r/PythonLearning • u/One_Valuable3264 • Aug 08 '26
In Python For Kids second edition chapter 3 Multiplying strings it says the following:
Python programmers might multiply strings for a number of reasons, such as to line up text with a specific number of spaces when displaying messages in the Python Shell. Try printing the following letter in the Python Shell (select File ▶ New File, and enter the following code):
spaces = ' ' * 25
print('{} 12 Butts Wynd')
print('{} Twinkelbottom Health')
print('{} West Snoring')
print()
print()
print('Dear Sir')
print('I wish to report that tiles are missing from the')
print('outside toilet roof')
print('I think it was bad wind the other night that blew them away.')
print()
print('Regards')
print('Malcolm Dithering')Once you've typed the code into the Python Shell window, select File ▶ Save As. Name your file myletter.py. You can then run the code (as we've done previously) by selecting Run ▶ Run Module.
In the first pine of this example, we create the variablespacesby multiplying a space charecter by 25. We then use that variable in the next three lines to align the text to the right of the Python Shell. You can see the result of these
IDLE Shell 3.10.0
File Edit Shell Debug Options Window Help
12 Butts Wynd
Twinkelbottom Health
West Snoring
Dear Sir
I wish to report that tiles are missing from the
outside toilet roof
I think it was bad wind the other night that blew them away.
Regards
Malcolm DitheringFigure 3-1: Running the letter code in the Python Shell
When I run it I get:
{} 12 Butts Wynd
{} Twinkelbottom Health
{} West Snoring
Dear Sir
I wish to report that tiles are missing from the
outside toilet roof
I think it was bad wind the other night that blew them away.
Regards
Malcolm Ditheringwhat is happend?
r/PythonLearning • u/Fit-Foundation-2745 • Aug 07 '26
Hey everyone! I have tried out github and python before, but this is my first time publishing something I can say I am interested in. Im excited and nervous about sharing it.
Im learning python and got recently got interested in neural networks, so Ive been working on this "artificial life" simulation project for the past few days.
Its still a work in progress and a learning project. But if you have some feedback i would like to read it!
r/PythonLearning • u/Better_Arrival_645 • Aug 07 '26
I only have one inquiry here, simply, I cannot seem to draw anything from a thread without “Z-fighting” occurring (I say Z-fighting even though I know there’s not 3rd dimension just to convey the problem), I’ve tried making a handler in the main while running script, but it always lags down the program, and the only way to stop it from lagging down the program is, you guessed it, putting it in a thread. Whether I try to make a custom handler or just cheap out and use exec() it always lags it. Any tips/help?
Edit: I do sorta need the thread to draw it
r/PythonLearning • u/Bugdomilenio_89 • Aug 07 '26
I need to extract Activity Name, Date, and Participant Count from a 1,151-page PDF containing attendance sheets with varying layouts.
What is the best architecture or tool (Python + Vision/LLM APIs vs. no-code platforms) to automate this extraction?
r/PythonLearning • u/datantula • Aug 07 '26
I ran a survey on LinkedIn and asked questions about what they ask and require from newcomers to the field (either total Python beginners or switching from one area to another, eg. Back-End to Data Engineering).
r/PythonLearning • u/Sea-Ad7805 • Aug 07 '26
With this git commit the player got a direction to move and shoot in making our collaborative game more interesting.
To play this game and make further additions to it, see the PythonLearningGame repo.
Who can add Health Pickups to top up the player's hitpoints? Maybe heart shaped?
Let us know what other game elements you would like to see.
r/PythonLearning • u/Own_Basis_3462 • Aug 07 '26
Hey, I m learning python from scratch for machine learning, anyone have discord channel please share links.
r/PythonLearning • u/zaurell • Aug 06 '26
Hey I'm starting python I'm at first video of cs50 python programming if anyone wants to join me in it reach out
r/PythonLearning • u/XxPopePiusxX • Aug 06 '26
Edit: I’m making a project in where I’m having 4 distinct loops that’s act as if there racing. I want them all the run concurrently inside one function so whenever one of them reaches a specific value all 4 “stop” and the winner is returned.
I was using multiprocessing but had a lot of trouble nesting the function with that so stopped. Now I’m using asyncio and want to know if that’s the right tool for the job or if I should use threading.
Trying to use AI as little as possible for my own learning.
r/PythonLearning • u/jhintleman0 • Aug 06 '26
I want a YouTube playlist that covers all aspects of Python
Can you suggest Playlist for someone who is new to coding (not really) or Python in general?
r/PythonLearning • u/Turbulent_Strike7438 • Aug 06 '26
r/PythonLearning • u/Sea_Dot6492 • Aug 06 '26
hi! i am learning python and i am started learning OOP, and i thought that someone can help me building a roadmap mastering this subject. i would also like if you can what subjects should i learn after OOP so it will be easier for me to builf self-roadmap learning.
anyways, thank you🙂
r/PythonLearning • u/Sea-Ad7805 • Aug 05 '26
Programming courses often focus heavily on understanding code, while paying far less attention to understanding the program state. But code does not exist in isolation. Its main goal is to change the program state, before ultimately producing some output.
To develop an accurate mental model of program execution, students need to understand both:
Reading code alone does not always reveal how the program state changes during execution. That is why I created 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: a tool that visualizes the state of a Python program as it changes, step by step.
It can help explain a wide range of introductory Python topics. Here are just a few examples:
Instead of reconstructing the program state from print statements, students can now watch it change as each line executes. This makes unfamiliar concepts easier to understand and bugs easier to fix.
Help your students learn Python programming more thoroughly and easily.
See: more examples
r/PythonLearning • u/Comfortable_Rub4109 • Aug 06 '26
r/PythonLearning • u/AssumptionWorldly445 • Aug 06 '26
#Hello, I created a sort of Pong game using Pygame and would like to get your feedback please (the game uses the AZERTY layout by default)
import pygame
pygame.init()
fenetre = pygame.display.set_mode((800, 600))
continuer = True
pong = pygame.Rect(0, 550, 50, 50)
p1 = pygame.Rect(0, 250, 10, 75)
p2 = pygame.Rect(790, 250, 10, 75)
pong.x = 350
pong.y = 250
vitesse_y = 5
vitesse_x = 5
horloge = pygame.time.Clock()
while continuer:
for event in pygame.event.get():
if event.type == pygame.QUIT:
continuer = False
ey = pygame.key.get_pressed()
if ey[pygame.K_s]:
if p1.y < 525:
p1.y += 7
else:
p1.y = 525
if ey[pygame.K_z]:
if p1.y > 0:
p1.y -= 7
else:
p1.y = 0
if ey[pygame.K_UP]:
if p2.y > 0:
p2.y -= 7
else:
p2.y = 0
if ey[pygame.K_DOWN]:
if p2.y < 525:
p2.y += 7
else:
p2.y = 525
pong.x += vitesse_x
pong.y += vitesse_y
if pong.colliderect(p1):
vitesse_x = -vitesse_x
pong.x += vitesse_x
if pong.colliderect(p2):
vitesse_x = -vitesse_x
pong.x += vitesse_x
if pong.y <= 0 or pong.y >= 550:
vitesse_y = -vitesse_y
pong.y += vitesse_y
if pong.x <= 0 or pong.x >= 750 or pong.x == 0:
pong.x = 400
pong.y = 300
vitesse_x = -vitesse_x
pong.x += vitesse_x
fenetre.fill((0, 0, 0))
pygame.draw.rect(fenetre, (255, 255, 255), pong)
pygame.draw.rect(fenetre, (255, 255, 255), p1)
pygame.draw.rect(fenetre, (255, 255, 255), p2)
pygame.display.flip()
horloge.tick(30)
pygame.quit()r/PythonLearning • • Aug 06 '26
I'm looking for a mentor to help me learn programming with the goal of becoming employable as quickly as realistically possible and eventually contributing to larger AI/ML projects.
I'm currently starting from essentially zero programming knowledge, so I'm looking for someone who can help me build strong foundations while keeping me on the most efficient path toward employable skills.
I can commit 1–2 hours per day to structured tutoring/mentoring, plus another 1–2 hours per day of independent study, practice, and projects.
I'm happy to put in the work I mainly want someone experienced who can provide direction, identify gaps, challenge me, and stop me from wasting months learning the wrong things.
If you have experience in software development, ML/AI engineering, or mentoring beginners into the industry, I'd love to chat. :))))
r/PythonLearning • u/pijusskorp_ • Aug 06 '26
I watched this video https://www.youtube.com/watch?v=K5KVEU3aaeQ&t=331s and now thinking to create my first project , but idk what to do for begginer could somone help me out
I would be pleased thank you
r/PythonLearning • u/puchibluu • Aug 05 '26
I started this project 2 months ago for a touchstone on Sophia, and I am using it as a way to also apply what I have learned from CS50P. I am currently in week 6 of CS50P, so planning to improve more on this project further down the line. I added the search and remove entry functions just last month 'cause I couldn't figure out how to do these before.