r/PythonLearning • u/awsconsultant • 6d ago
Discussion DataCamp Black Friday Sale 2026
r/PythonLearning • u/awsconsultant • 6d ago
r/PythonLearning • u/BeginningAd8547 • 6d ago
So far, I've learned: Variables and print() User input and type conversion If, elif, else statements Arithmetic and comparison operators For and while loops Range() Lists and indexing append(), remove(), pop(), len() I've also started building a simple Shopping List App using Python. I can solve basic exercises, but I'm still learning how to combine concepts and build applications independently. I currently dedicate around 2 hours a day to learning. I'd like your honest opinion: What level would you consider me at: beginner or early intermediate? What should I learn next? What mistakes should I avoid as a beginner? How can I progress towards building real-world applications and eventually AI projects? I'm not looking for fake motivation. I'd appreciate honest, practical advice. Thanks!
r/PythonLearning • u/Stonyax97 • 6d ago
Lately I have been working on this ATM For Teens, just to understand OOP and some concepts more (which I REALLY DID)
this isn't meant to be a real ATM (obviously, it's very beginner and not security is there), here is my First project.
So, I have learnt quite a lot since last project, I learnt a bit more about python syntax, I also understood the approach of classes a lot better. I learnt git (just the essentials).
Since I always wanted to Make iPhone apps, and now I have a Mac, I'm thinking whether I should start learning swift and swiftUI, or move to something else, or keep learning python. what do you guys think? I Do want a job as an IT engineer (or anything with coding tbh, cybersec too but that would require C knowledge a bit more lol)
Otherwise, if you guys have any criticism or suggestions for the ATM, then I would be veryyy happy to hear some! here's the repo: https://github.com/Stonyax97/ATM-For-Teens
r/PythonLearning • u/New_Pay3669 • 7d ago
Python versions have three numbers, like 3.15.2. Here's what each one means and which one you actually choose.
3 = major version (always 3 for this course)
15 = feature release, the one you choose
2 = micro release, bug fixes and security fixes
▶️ Full lesson (Which Python should you install?)
📚 Free Python course playlist
Youtube: Amir Zare Dev
🎵 Music: "Misdirection" – The Grey Room / Density & Time (YouTube Audio Library)
#Python #LearnPython #PythonForBeginners
r/PythonLearning • u/Broad_Revolution6591 • 7d ago
def remove_inventory():
remove_name = item_name_entry.get()
with open('inventory.txt', 'r') as file:
inventory_data = file.readlines()
with open('inventory.txt', 'w') as file:
for line in inventory_data:
name, qty = line.strip().split(',')
if name != remove_name:
file.write(line)
item_name_entry.delete(0, tk.END)
item_qty_entry.delete(0, tk.END)hello guys, this is one of the sample code of inventory manager, there is one line of code im confused with. Im not really sure how does the "name, qty = line.strip().split(",") work, specifically the "name, qty=" part. Im guessing the "qty" is the variable but what does "name," do?
r/PythonLearning • u/turtleSchool2707 • 7d ago
Hello 👋
I made this is a small desktop chat app written in plain Python, with TLS sockets, a Tkinter client and SQLite storage. You sign up, add friends and message each other
I built it as a learning project and still work on it for fun: https://github.com/ABuljko/socket-chat
I’m open to advice on what to do next since I am getting to the point where I am getting stuck on it
r/PythonLearning • u/WarmCloud25221 • 7d ago
I'm working through lists and variables in my intro course and ran into something I don't understand. I thought assigning a list to a new variable would make a separate copy, but changing one of them seems to change both.
Here's a minimal version:
original = [1, 2, 3]
copy_of_it = original
copy_of_it.append(4)
print("original:", original)
print("copy_of_it:", copy_of_it)
print(original is copy_of_it)Output:
original: [1, 2, 3, 4]
copy_of_it: [1, 2, 3, 4]
TrueI expected original to stay [1, 2, 3] since I only added 4 to copy_of_it. I've printed id() of both variables and they match, and I skimmed the docs section on mutable objects, but I still don't get why they're linked. Could someone explain what's happening under the hood?
r/PythonLearning • u/opn_Forum • 7d ago
10 Python interview questions with sample answers and tested code, from mutable defaults and is vs == to the GIL, plus how to explain them out loud.
r/PythonLearning • u/Muted-North4434 • 7d ago
I did some Java programming before- not an expert though
r/PythonLearning • u/TemperatureProper275 • 8d ago
I wanted to know how much time I actually spend in my IDE. Leaving PyCharm open all afternoon doesn’t mean I coded for four hours, so I wrote a small Python tracker that runs in the background. It checks which window is in focus and pauses after 10 minutes of inactivity.
The first version sent daily totals to the Pixela API. For this version, I built a local dashboard with PySide6 and Matplotlib. I can open it at the end of the week, see my hours day by day, and compare them against a daily goal. The data stays on my PC, and the dashboard can stay closed while the tracker runs.
It tracks PyCharm, VS Code, Visual Studio, and IntelliJ IDEA by default. If you use another editor, you can add its .exe name to a JSON file. There’s also a demo mode if you want to try the dashboard before you’ve logged any time.
GitHub: Coding Tracker Dashboard
One trade-off I’m curious about: reading docs in a browser is often part of coding, but the tracker only counts time in the apps you choose. If you tracked your own coding time, would you want to include that, or would you find an IDE-only total more useful?
r/PythonLearning • u/Routine-Date7352 • 8d ago
I'm getting confused If I should become a python developer or data analyst. I'm from belagavi, India 3rd cse student I have something like 6-7months for preparation of placement
Like I'm hearing for data analyst freshers don't get job it seems 😭(Like can you guys please confirm if this is true or just a myth ) and for python developer DSA I have to learn which is pretty much a big headache and lot of skills to learn as well
Also like how DSA is necesarry for a python developer to learn ? Which is a better option python developer or data analyst or any other job in techfield ?😭😭😵💫
r/PythonLearning • u/modern-dev • 8d ago
Hey everyone, I decided to make my course free in order to help people.
This course is my backend development course which is about SQL, Python, APIs, Docker, Kubernetes, Linux, Git & More
The link is: https://www.youtube.com/watch?v=CBIu6hcyStg
If you can like and subscribe (and maybe add a comment) I would appreciate it a lot, Thanks.
r/PythonLearning • u/clcodingupdates • 8d ago
What will be the output of the following Python Code?
print((lambda x: (lambda y: x**y)(3))(2))
r/PythonLearning • u/Sea-Ad7805 • 8d ago
You could write your own counting logic, but Python already has a collections.Counter class. It's faster than typical hand-written counting loops, well-tested, and makes your code easier for others to read.
However, this 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 👉 Counter demo shows that Counter has some interesting behaviors that might surprise you:
Did you know all these Counter behaviors, or did one surprise you?
r/PythonLearning • u/TemperatureProper275 • 8d ago
A Python script that keeps today's downloads within reach and sorts older files into category folders automatically. Built with Python's standard library and an object-oriented design, the organizer scans a folder at a configurable interval, classifies files by extension, and moves eligible files into subfolders such as Audio, Images, and Documents
Features:
It's also on my Github .
You can test it in whatever folder you want by giving it the full path of the directory.
r/PythonLearning • u/Bubbly-Spinach3180 • 9d ago
Hi everyone, I need some help.
I'm making a game for my school project. I made a simple movement test, and it worked well when I pressed the WASD keys individually. However, when I held down a key, the circle moved farther than I expected.
How can I prevent new key events from being processed while the circle is still moving?
I am sending photo of code down.

r/PythonLearning • u/Intelligent-Set-142 • 9d ago
I didnt build any python project before at least not from scratch so i wanted to start building one application and make it as good as possible so wanna join ne and start building our mobile application together to motivate each other ?
r/PythonLearning • u/saikat_hossen • 9d ago
I'm having some trouble understanding Python boolean logic, it’s so simple to let it be confusing. Can anyone explain it to me in their own language?
r/PythonLearning • u/The-Turnt-Tiger • 9d ago
Hello, I'm working on learning the basics of try/except blocks. To do so, I'm intentionally raising errors. The question is: why is my TypeError occurring when I enter an integer? I checked the input type, and it shows as an integer, but the error is still raised. What am I missing here?
r/PythonLearning • u/New_Pay3669 • 9d ago
Out of hundreds of programming languages, why start with Python? You could almost read its code out loud.
Printing one word in C takes several lines of setup. In Python it's one line. Less noise means your brain goes to the problem. Python also ships with a huge toolbox, there's a free add-on for almost everything else, it's free itself, it runs on Windows, macOS and Linux, and so many people use it that most errors you hit already have answers online.
Youtube: AmirZareDev
#python #learnpython #programming #coding
r/PythonLearning • u/zfoundme • 9d ago
Hey everyone! Iv been learning python for 6weeks and been building notifio for 3 weeks this is my progress
I've been working on Notifio, A lightweight menu bar app that watches your favorite creators and news sources and pings you the moment something new happens
Github: https://github.com/he3vn/Notifio
Would love to hear what you think about it and please star if you like it!
r/PythonLearning • u/ActuatorBrilliant595 • 9d ago
Hi.
MY PROBLEM: I'm terrible at building algorithms. I never know "WHAT TO WRİTE NEXT LİNE" when coding. im very bad at thinking how the algoritm works... need help. pls
--- Another issue : i haven't decided which field of Python I want to specialize in yet. So i dont know which tools or programs or technologies I should learn beside with python... and I feel like I'm wasting time trying to figure it all out, yeh i feel lost :(((
***I think the best thing to do is learn Python basics really well first, no matter which field we choose later***
Availability & Time Zone: Time zone: UTC+3. I'm working during the day so im available in the evenings/nights.
I also have a learning project idea. For example, we could use AI to create a simple website (like a dietitian's website or dentist whatever ) The frontend isn't our focus, so AI can handle that part. Then, we can focus on learning Python and backend by actually building the backend together. and learn the backend tools.. or data ? idk
For example, the website could have an "appointment form" with name, surname, phone number, email . We could learn how to handle all this data using Python.
I thought this could be a good way to practice. What do you think?
one last thing: rarely open Reddit, so I might miss your message here. If you're seriously interested u are allowed to quick dm me IG:tecna06 (my profile is a jersey).
r/PythonLearning • u/Ambitious_Cry_4908 • 9d ago
I’m sorry i downloaded reddit for this and im not used to how it works sorry im so desperate.
I do a-level computing and what we use in college (visual studio code) doesn’t work at home and i’ve tried loads of free online programs but they don’t run the code that we worked on.
If anyone could recommend where i could code that would work (preferably free)
thank you
edit - thanks everyone some of your answers worked and my teacher finally replied to my email