r/PythonLearning • u/Ichangedtoacat • Oct 19 '25
r/PythonLearning • u/Jolly_Fortune_1932 • Sep 02 '25
my alarm is not working
i made an alarm and it worked fine
so i decsied to add an additional code that makes you with only the hours and minutes without using seconds it should convert 7:52 pm into 7:52:00 pm
but when i add the code it just keep counting with stopping even passing the alarm time
i even tried another code in the third and fourth photo and the same proplem keep happannig
if any any one have solution he could tell me
r/PythonLearning • u/shubham_555 • Aug 21 '26
Discussion Will you recommend it?
So I have been doing leetcode since last few days (https://www.reddit.com/r/PythonLearning/s/Hh8Rjwchx5)
I definitely am able to form logics but still feel really scratchy with the language itself. Also, DSA can sometimes be pretty boring. So was thinking of doing something fun alongside (i definitely ain't dropping leetcode) to keep my motivation up and also learning about python more in the process. So just wanted to ask...will you recommend this course?
r/PythonLearning • u/mercurioaligero • Jul 30 '25
Help Request What exactly happens in the wrapper?
I'm a beginner learning to write decorators. I don't quite understand the syntax of the wrapper: first it checks if the argument is present as a key in the cache dictionary (and if it is present it returns the corresponding value), then it executes the func function and assigns the result to the result variable, finally it adds a new key-value pair to the dictionary? Why should this save computation time? If, for example, n = 4, how is the calculation done? Thanks in advance for your help!
r/PythonLearning • u/yourclouddude • Jun 27 '25
These 5 small Python projects actually help you learn basics
When I started learning Python, I kept bouncing between tutorials and still felt like I wasn’t actually learning.
I could write code when following along, but the second i tried to build something on my own… blank screen.
What finally helped was working on small, real projects. Nothing too complex. Just practical enough to build confidence and show me how Python works in real life.
Here are five that really helped me level up:
File sorter Organizes files in your Downloads folder by type. Taught me how to work with directories and conditionals.
Personal expense tracker Logs your spending and saves it to a CSV. Simple but great for learning input handling and working with files.
Website uptime checker Pings a URL every few minutes and alerts you if it goes down. Helped me learn about requests, loops, and scheduling.
PDF merger Combines multiple PDF files into one. Surprisingly useful and introduced me to working with external libraries.
Weather app Pulls live weather data from an API. This was my first experience using APIs and handling JSON.
While i was working on these, i created a system in Notion to trck what I was learning, keep project ideas organized, and make sure I was building skills that actually mattered.
I’ve cleaned it up and shared it as a free resource in case it helps anyone else who’s in that stuck phase i was in.
You can find it in my profile bio.
If you’ve got any other project ideas that helped you learn, I’d love to hear them. I’m always looking for new things to try.
r/PythonLearning • u/Samar__Upreti • Jul 22 '26
Day 2 of learning Python: Implemented Selection Sort from scratch
Open-source learning project. If you spot something that can be improved, I'd love your feedback or a PR.
https://github.com/Samar-Upreti/Python_Projects
r/PythonLearning
•
u/Sea-Ad7805
•
May 11 '26
Data Structures get easy with memory_graph Visualization
Understanding and debugging data structures becomes much easier when you can simply see the structure of your data with 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵.
Run this Linked List live demo.
A linked list is a nice teaching example because it makes references very explicit:
every node is a separate object
each node refers to the next and previous node
inserting or removing an element means changing references
a tiny mistake can disconnect part of the structure
Normally, students have to imagine all of this in their head. With 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵, they can inspect the actual Python objects and references directly. That makes it easier to understand:
aliasing
mutability
object identity
the call stack
sharing values by local variables in different functions
For beginners, this helps build the right mental model of Python data. For more advanced students, it helps debug pointer-like reference bugs in data structures.
r/PythonLearning • u/shubham_555 • Oct 11 '26
Showcase Calculator (Class Based)
Last Post - https://www.reddit.com/r/PythonLearning/s/WDdQNhfg2w
Github Repo - https://github.com/Dev-4-All/calculator.git
r/PythonLearning • u/aashish_soni5 • Jun 12 '26
Showcase Day 6th Python Learning
today start with simple practice using for and while loop
- while True
In which I make mistake put variable input () outside of while True which cause infinite loop 🥶 So never do at for in beginning of learning
- use for loop with " ".join() to create continuous triangle with number
- at last taste of terminal where I cause some errors because of lack of use of terminal,So need more time to use
Join me in python journey..
Let meet tomorrow, for now I am going to get taste of git🤤
#python #coding #ai
r/PythonLearning • u/ribotastic • Nov 17 '24
Yesterday I began to learn Python and even programming in general.
Here my first program I wrote. A password entry! 👀
r/PythonLearning • u/ProgramBrave718 • Sep 14 '26
🥲Don't know why I wrote this code NSFW
r/PythonLearning • u/[deleted] • Sep 03 '25
Showcase Not Much But Im Proud Of It As The First Thing Ive made
messing around with if statements and countdowns and loops,all it does is ask some questions and give outcomes based on them,only really 3 outcomes but i like it and i like the countdown and its helping my learning 16M,tho i admit i did have a lot of issues with indentation that i fixed gradually with chatgpt assistance (not heavily tho,tried to keep it light),very happy with this
r/PythonLearning • u/BrewJerrymore • Mar 13 '25
First GUI
I'm posting screenshot of code. Got a better video and set up a repository so I wanted to repost
r/PythonLearning • u/LearnWithJavaPro • May 21 '26
We built a free Git course with a real Ubuntu VM in the browser — because we were tired of watching people panic at merge conflicts
Posting here because we know this isn't a Python sub issue — it's an everyone issue. We run a Java bootcamp and the pattern is always the same. People can write code just fine. Then they need to push something to GitHub or god forbid deal with a merge conflict and suddenly they're googling "how to undo git" in a cold sweat.
The goal with this course was pretty simple — we wanted people to stop being afraid of Git and just use it. Daily. Without thinking about it. Like how you don't think about saving a file, you just do it. Git should feel like that.
So we built a 20-lesson course where you get a real Ubuntu terminal right in the browser. Not a fake sandbox — a real terminal. The lesson is on the left, you type commands on the right. Nobody codes for you. Nobody talks over slides for 45 minutes. You just do it yourself.
It goes from zero to stuff that most people never learn:
Git basics — init, commits, staging, diffs, undoing mistakes
Branching — merges, merge conflicts (you trigger a real one and fix it yourself), rebasing
GitHub — pushing, pulling, forking, PRs, code review
How actual teams work — feature branches, conventional commits, branch protection
The stuff that saves your life later — cherry-pick, reflog, bisect
You don't need to know Java or any specific language. The files in the repo are just placeholders — the whole thing is about Git and GitHub.
When you're done you've got a real repo on your GitHub with actual commits, merged PRs, CI checks, and a tagged release. Not a certificate. Actual work that anyone can click on and see.
Whole thing is free. Not "first 5 lessons free." All 20. No credit card. No catch.
LINK: https://www.javapro.academy/bootcamp/free-git-and-github-course/
We're still polishing some of the later lessons so if anything feels weird or you think we missed something let us know. Genuinely want to make this better.
P.S. — when we say real terminal we mean it. Every student gets their own Ubuntu VM with Git and Nano pre-installed. You're not typing into some fake browser widget that pretends to run commands. It's an actual Linux environment. You can ls, cat, nano, whatever you want. If you break something the next lesson spins up a fresh VM so you literally cannot permanently screw anything up.
r/PythonLearning • u/Cautious-Bet-9707 • Aug 05 '25
Damn you python (switching from c++) 💔
need to learn the stupi
r/PythonLearning • u/wwbacteriophagevirus • Jun 28 '26
Help Request Recommendations
Hello everyone I’m currently learning python on visual code, and I did my first “project” its a trivia game for fun and practicing what I learned while reading about python, but I struggled a little, I was so confused and I used AI (Gemini) to help me understand what I did wrong but I don’t want to use AI bcuz I feel like I’m not learning anything but since I’m doing this alone unfortunately I used. But I would like some recommendations like YouTube videos, books, courses etc to learn more, I see a lot of people doing calculators and I would love to make one so some I need some suggestions. Thank you guys.
r/PythonLearning • u/Hefty_Courage3893 • Oct 15 '26
Help Request I’m stuck on this assignment
I never struggle on assignments but this one is so confusing for me
r/PythonLearning • u/Sea-Ad7805 • Oct 02 '25
Right Mental Model for Python Data
An exercise to help build the right mental model for Python data, the “Solution” link uses memory_graph to visualize execution and reveal what’s actually happening:
r/PythonLearning • u/Jealous-Beyond-1104 • 21d ago
This is my first python project - what can I improve??
r/PythonLearning • u/adnanecanflyy • Jul 24 '26
Day 2 of learning python
I'm learning Python and made this coffee/tea ordering program. Any advice?
r/PythonLearning • u/SaltyPotatoStick • Jul 05 '25
Help Request Trying to make a calculator
Hi, I just started learning python about 3 weeks ago. I’m sure there are so many things wrong with my code here!
I’m trying to make a calculator if that isn’t clear with the code above. However, when I try to run it, It says that answer is not defined. If I unindent the print function, nothing prints.
r/PythonLearning • u/Next-Call8862 • Sep 11 '26
Showcase Day 2, learnt some oops
Learnt super( ), inheritance, polymorphism, class method and static method and don't mind the messy code that's me trying to figure out things
r/PythonLearning • u/Neutrealolmao • Jul 01 '26
Help Request Where should I learn beginner python from?
I mean I try to see where I could learn and I hear so many :-
CS50p
W3Schools
Tech with Tim
Some helsinki too
And some more
Where should I start from :-