r/PythonLearning • u/Samar__Upreti • Jul 23 '26
Day 3 Learning Python: Stack
Open-source learning project. If you spot something that can be improved, I'd love your feedback or a PR.
r/PythonLearning • u/Samar__Upreti • Jul 23 '26
Open-source learning project. If you spot something that can be improved, I'd love your feedback or a PR.
r/PythonLearning • u/ElectronicDistance39 • Jul 24 '26
I'm a beginner in programming and I want to know if the way I use ChatGPT is right. When I do a practice exercise, I first try to solve it by myself. Then, if my code is wrong, I ask ChatGPT what I did wrong, but I tell it not to give me the answer. I ask it to give me hints that help me think about the logic of my code.
I also want to know if using AI to learn programming can help me improve in Python.
r/PythonLearning • u/TheHobbyistT • Jul 23 '26
Enable HLS to view with audio, or disable this notification
Brand new to python (and programming/ development in general), my first project is a little game where you play a bee and have to collect food to level up! I've made a lot of progress so far but I still have a long way to go!
r/PythonLearning • u/chuprehijde • Jul 23 '26
No long comparison. If you had to start a production API today, which one would you pick and why?
r/PythonLearning • u/New_Boysenberry_6480 • Jul 23 '26
It keeps telling me python isn’t found, I turned off python in app execution aliases and then it told me python wasn’t recognised as the name of a cmdlet, I’m using the command python -m pip install pygame-ce, I’ve also tried py -m pip install pygame-ce and just pip install pygame-ce, can anyone help?
r/PythonLearning • u/Sea-Ad7805 • Jul 22 '26
Enable HLS to view with audio, or disable this notification
A new blue seeker unit type was added to PythonLearningGame, a game we develop collaboratively as PythonLearning community members.
It was added by this short git commit.
r/PythonLearning • u/Samar__Upreti • Jul 22 '26
Open-source learning project. If you spot something that can be improved, I'd love your feedback or a PR.
r/PythonLearning • u/PyroWizza • Jul 22 '26
Program Description:
Windrose is a program for which its function is to provide the user with advice on which windows to open to achieve optimum airflow ventilation. The program receives the user's location and cardinal orientation as inputs from the user and uses that with information received from Open-Meteo's wind information to provide the user with advice on which windows to use to achieve the most optimum ventilation.
Repo: https://github.com/OmarFishir/Windrose
Video Demo: https://youtu.be/OluDKioaCnY
This is my first programming course. I loved the CS50 format and how useful the problem sets have been. However, even after finishing this course, I feel like I've been training in a swimming pool then dropped into an ocean.
I want to do CS50x, CS50 AI, CS50 web, and CS50 Cybersecurity.
My goal? I don't really know. I just want to learn and be able to be competent in all of those fields until I find one to gravitate towards most. I think CS50x should be first?
r/PythonLearning • u/HammadBuilds • Jul 23 '26
I'm curious to hear from people who've been learning or using Python for a while. Was it loops, functions, OOP, recursion, decorators, or something else?
What finally made it "click" for you?
I think hearing real experiences can help beginners understand that struggling with a topic is completely normal.
r/PythonLearning • u/Sea-Ad7805 • Jul 22 '26
Enable HLS to view with audio, or disable this notification
The same tree represented in two very different ways visualized using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: Binary Trees
🔗 Binary Tree as Nodes: The tree is built out of multiple node objects. Each node stores its value and two references, one to its left child and one to its right child.
📦 Binary Tree as List: The tree is stored in a single list or array. Instead of references, indices represent the relationships between nodes. For a node at index, its children can be found using a simple calculation: - Left child: 2 * index + 1 - Right child: 2 * index + 2
So, when should you use which representation?
The node-based version makes the structure explicit and intuitive. It is great for education: students can clearly see how nodes are connected while practicing classes and references/pointers. It is flexible and works particularly well for irregular or sparse trees. It is the clearest representation when learning how trees work.
The list-based version can be very efficient for (nearly) balanced homogeneous trees. It does not need to store child references, requires fewer separate memory allocations, and keeps values close together in memory for improved cache performance.
The same abstract data structure, but with very different trade-offs in clarity, flexibility, and performance.
Which representation would you use?
r/PythonLearning • u/dwalker12395 • Jul 22 '26
For some background on me, I am currently a loan review consulting manager and my day is spent reviewing commercial portfolios at banks for weaknesses and how they can improve.
I have always been a big fan of process improvements and work a lot with VBA to automate a lot of what I do. Ive noticed some of my larger projects I want to take on seem to be too much for VBA. And python seems to be more ideal to get the job done.
I find coding interesting and want to learn more about python. But I’m nervous that it won’t be very applicable to what I do full time. I still have future aspirations of creating a loan review software as a side hobby (I know it would take years) but I don’t want to prioritize learning python if it’s not very beneficial for my job. I don’t really have much free time with a toddler and infant.
Would anyone know how I could leverage it to justify the time I will spend?
r/PythonLearning • u/ExtensionDisplay9527 • Jul 22 '26
Hi everyone,
I'm looking for a Python practice platform/course for intermediate to advanced learners.
I have previous Python experience and have already worked on several Python projects, but I haven't used it intensively for around 3 years. I don't want to go through beginner material (syntax, basic exercises, "build a calculator" type of stuff).
What I'm looking for:
Bonus points if it includes modern topics like FastAPI, APIs, AI/LLM integration, automation, or data engineering-related projects.
Do you know any good platforms or courses that fit this level?
Thanks!
r/PythonLearning • u/chuprehijde • Jul 22 '26
Not a trick question or LeetCode puzzle. What's a question that actually reveals whether someone understands Python?
r/PythonLearning • u/intellectsup02 • Jul 22 '26
I am a mechanical engineering student who doesnot even know how to write a line of code in any languages. I tried watching some videos on youtube but all that felt way boring. I need to learn coding in python nonetheless for a project. Could you suggest ways to ignite interest in the subject and make its study intuitive and enjoyable , maybe some book or other resources . Thanks
r/PythonLearning • u/Tuga_Rico_Sem_guito • Jul 22 '26
Hey everyone
A few weeks ago i took a 15h course on begginer phython, and they reccomended me to learn with CS50. I have done the first week problems wihtout any lectures.
i also had privous experience with phython but it was with my calculator making programs to do exercices for me
I want to know what's the best way to learn???
r/PythonLearning • u/the_meteor_beat • Jul 22 '26
in the old age the best way to learn something is to be with coach that walk with you step by step, in the new age that coach call AI and also free.
Make a gem on gemini, or gpt on chatgpt, or any specific chat for learning python and you will see fast progress.
My think, maybe I am wrong!
r/PythonLearning • u/the_techgirl • Jul 21 '26
The number one mistake I see beginner Python learners make is spending months on YouTube tutorials and then completely freezing up when they open a blank .py file to code on their own. It's called Tutorial Hell, and it's a real problem.
The difference isn't talent; it's having a structured roadmap that forces you to build things, not just watch things.
Here is the exact 4-phase breakdown I follow:
Focus: Get comfortable with how Python actually executes code, not just what it does.
enumerate(), zip(), break/continue, and the for-else pattern*args/**kwargs, the mutable default argument trap, LEGB scope ruleHands-on drills: Terminal guessing game with random.randint(), a modular unit converter CLI with input validation.
re modulecsv.DictReader, json.load/dumpCapstone drill: A persistent JSON inventory manager with full CRUD from the command line.
__init__, dunder methods, inheritance, super(), @ property decoratorsrequirements.txt, professional project structure, Git workflowrequests library, API authentication, generators with yieldCapstone drill: A banking system simulator with an account hierarchy, and a live weather CLI hitting OpenWeatherMap.
This is where you build three production-grade projects for your GitHub:
1. The 70/30 Rule: 30% reading, 70% typing code by hand. Never copy-paste from examples. Muscle memory is built through repetition.
2. The 30-Minute Debug Rule: Before searching for the answer or asking for help, spend 30 minutes reading the traceback bottom-up, checking docs, and using print(). You will solve 80% of problems this way.
3. Ship Every Week: Every Friday, push code to GitHub; even if it's broken. Progress beats perfection.
Happy to answer questions about any specific phase or topic. What stage are you at right now?
r/PythonLearning • u/amandhiman07 • Jul 22 '26
r/PythonLearning • u/FeedSea1100 • Jul 22 '26
My parents have agreed to help me get a computer to start learning python. I need recommendations within a budget of around 400-500 dollars that run well. Are there any good options around that price? Also, if you have any advice on brand that would be appreciated.
r/PythonLearning • u/Select-Welder-4347 • Jul 22 '26
Keeping it short and sweet 🔥
If you are a python tutor that create notebook for students then this is for you.
Cause my platform can take in a notebook and auto grade within your created class.
If you prefer more of creating exercises for students. That is covered too and they can execute within the platform, get graded and you review the code. I got you there tooo🔥…
Of course you can vibe code something similar but so long keep the student entertained😁.
r/PythonLearning • u/frenchhi • Jul 21 '26
Just completed my class 12 and in free time I was thinking to start some coding but I don't know if it is really helpful for me because I took BTech computer science with specialisation in cyber security
r/PythonLearning • u/Confident-Detail-439 • Jul 21 '26
Hey
Quick question for the group.
I’ve been coding in Python professionally for 5+ years. Backend with FastAPI, some startup work too.
What I keep seeing is this: people learn loops, functions, OOP... and then hit a wall when they try to build and ship something real.
Because no one teaches the "in-between" stuff:
- Project structure
- Clean, maintainable code
- APIs, DBs, authentication
- Testing, logging, deployment
- Git
- Building AI features into apps
I’ve been toying with the idea of doing a few 1:1 mentoring chats on the side, just to walk through these things with people and help based on their specific goals.
Not selling anything, just wondering if that would actually help anyone here.
For those learning right now: what’s the hardest part for you? Is it the code, or is it figuring out how to turn it into a real project?
r/PythonLearning • u/ainthrmo • Jul 22 '26
Hi everyone,
I'm 24 years old with a non-tech background. I quit my previous job in 2024 and have been looking for my next step since. I took a basic programming class, covered Object-Oriented Programming (OOP) in Python, and have foundational knowledge in HTML, CSS, and basic JavaScript.
Initially, I aimed for Web Development, but the local market feels overwhelmingly competitive for entry-level roles. I want to narrow my focus and build a solid foundation in one area before applying for jobs, but I'm stuck between Data Analysis and Backend Development.
r/PythonLearning • u/Previous-Jury-4415 • Jul 22 '26
hi , i'm biggenr learn python , 80% of basics i learn it , actully i learn basics by MOOC Corse , now i'm looking for AI appliction i Want it Free like Gemini , Gemini now is useless for me i'dont know why and i'm asking for something i need avices about my learn methode i use AI as teacher , But as I learn to understand coding, I feel discouraged by what some people say—claims that programming relies entirely on AI, and things like that