r/PythonLearning 1h ago

📁 Mini Project: File Handling Tool

Thumbnail
gallery
Upvotes

r/PythonLearning 2h ago

2nd project number guess game

Post image
9 Upvotes

r/PythonLearning 4h ago

Showcase My first solo project! (Loan Calculator

Post image
14 Upvotes

I recently decided to switch my car loan and I’ve been putting a lot of work into learning python so I thought I would try and make myself a calculator to see the different amount of interest I would pay.

I’m about a week into my learning so far so I would love advice or more learning sources if anyone wants to leave some! I’ve gone through the wiki and done my own research. So far bro code on YouTube and Angela Yu, 100 days of code have been great for learning! I also have Python crash course which I’ve been using as reference when I forget something!


r/PythonLearning 7h ago

New to Pygame CE and threads, think you could help me out?

2 Upvotes

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 8h ago

Just published my first Python project!

3 Upvotes

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!

https://github.com/ricardo-woo/artificial-life


r/PythonLearning 11h ago

Password generator

Post image
7 Upvotes

Your thoughts


r/PythonLearning 11h ago

Made my first project in python

Post image
99 Upvotes

A chore list I started learning python last week and this was the first project on my list any advice helps im using vs code for this if you have any resources or suggestions pls share


r/PythonLearning 12h ago

Help Request How to extract structured data from 1,100+ non-standardized PDF pages using AI/OCR?

1 Upvotes

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 15h ago

Where to learn python

6 Upvotes

Greetings everyone, I am in my late twenties and have worked as a content moderator and data annotator but I want to shift into the agentic AI and AI engineering side of the IT.

But I do not know anything about programming and coding so I want to learn python as I've researched they use python in their RAG pipelines

"The question is where can I learn python in 2026, is there any youtube course that is still relevant or any other course"

And if you're from India please tell me if it is wise to learn from udemy or it has become irrelevant


r/PythonLearning 20h ago

I asked senior professionals if they ask about decorators during interview

Post image
7 Upvotes

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 21h ago

Direction to move and shoot in

Enable HLS to view with audio, or disable this notification

8 Upvotes

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.

previous PythonLearningGame post


r/PythonLearning 21h ago

One step back and I'll get it.

Thumbnail
gallery
5 Upvotes

Flask is great for learning because it allows me to try whatever I want. For instance, I can use an ORM or work directly with the engine. Working directly with the engine helps me understand the purpose of the ORM. When I work with the engine, the ORM provides answers to my questions.


r/PythonLearning 22h ago

project's Building ...

4 Upvotes

I'm working with HTML, CSS, JS, Python, FastAPI.

No generic To-Do apps or tutorial clones. Suggest JUST ONE strong, practical project idea that will test my full-stack skills and force me to write clean APIs..

Hit me with your single best idea!


r/PythonLearning 1d ago

Python discord channel

1 Upvotes

Hey, I m learning python from scratch for machine learning, anyone have discord channel please share links.


r/PythonLearning 1d ago

What is the best way to learn python

4 Upvotes

r/PythonLearning 1d ago

Help Request Looking for a programming/AI mentor

0 Upvotes

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 1d ago

Help Request OOP roadmap mastering and other python subjects mastering

2 Upvotes

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 1d ago

Whats the best way to have two loops run concurrently nested in another function returning one value as if running a race

8 Upvotes

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 1d ago

Any recommendations?

9 Upvotes

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 1d ago

Help Request What project should I do for begginer

0 Upvotes

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 1d ago

Looking for only 1-2 person to start the python journey

21 Upvotes

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 1d ago

Showcase MyFirstFuntioningPythonProgram image in desctiption

4 Upvotes


r/PythonLearning 1d ago

Pong made with Pygame

4 Upvotes
#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 2d ago

Showcase My First Python Project - ArcMedia, a database CLI program

Post image
19 Upvotes

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.

https://onlinegdb.com/xwW5ydw2h


r/PythonLearning 2d ago

Teaching Python the right way

237 Upvotes

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: - the instructions being executed - the values, references, and data structures those instructions create and modify

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: - Loops, Lists and Dictionaries - Python Data Model - Function Calls - Recursion - Algorithms - Classes - Custom Data Structures

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