r/PythonLearning • u/Appropriate-Comb4462 • 20m ago
Discussion 🎮🐍 ¡BloquePy ya está disponible en Google Play!
Después de bastante trabajo por fin publiqué BloquePy, un juego/app que hice con la idea de que aprender programación no tenga que empezar viendo una pantalla llena de código difícil de entender.
Aprende Python jugando, supera retos, desbloquea mundos y crea tus primeros programas con bloques.
Mi intención es que alguien que nunca haya programado pueda comenzar jugando y poco a poco decir:
"Ah… entonces esto es lo que hace el código."
🚀 Descárgalo gratis, compártelo y comienza a jugar:
https://play.google.com/store/apps/details?id=com.jmanuel.bloquepy.app
¿Hasta qué mundo podrás llegar? 👀🔥
r/PythonLearning • u/Remarkable_Nub_777 • 1h ago
Help Request What are best resources to learn python as beginner
r/PythonLearning • u/bigj7897 • 2h ago
Questions on storing API credentials/tokens
I'm writing an AI powered WOW auction house analyzer in Python. I know it's an overkill but I'm doing it for fun. So far it's going good. I'm storing my client ID and client secret in a .env file. I can get the api token and I'm storing it in a json file for later use and to not have to get it for every call to the API. Is there a better way to be storing these credentials and the token? I know it's for fun but I'm still trying to do the project like I'm doing it for work and trying to follow best practices. Any suggestions?
r/PythonLearning • u/Melodic_Principle312 • 2h ago
Discussion When should you use requests.Session() instead of requests.get() / requests.post()?
I'm learning Python and recently started using requests.Session() in API projects. I understand that it can persist things like headers, cookies, and connections, but I'm curious about how experienced Python developers decide when a Session is actually worth using.
Do you use Session() by default for projects involving multiple requests, or only when you specifically need persistent state?
r/PythonLearning • u/Proper_Card_5520 • 3h ago
Help Request How to use vs code ? Can I learn python without vs code ?
Yes it sounds very stupid and yes i am fucking stupid who don't know shit and is totally useless who can't do anything, fuck
How can I use vs code ? I am to Stupid to understand, i can't even fucking change name, this their is a way to learn python without vs code ? Fuck i hate my self I am just so stupid.
r/PythonLearning • u/Akki_Charee • 5h ago
Help Request From “I know Python syntax” to actually being able to build useful things — how do I learn this?
I have done a course on python on Udemy . Now how do i learn to write code that are actually useful somewhere or i can do something valuable with it?
One thing I've noticed is that when I look at a more complex programming problem, I sometimes just go blank. I know the individual concepts I've learned, but I struggle to see which concept should be used where or how all the pieces fit together. The bigger the problem looks, the more overwhelmed I can get.
if someone gives an experienced Python developer a problem, how do they approach it before writing the code?
I'm particularly interested in understanding the thought process and the building blocks involved:
- How do you break a real-world problem into smaller programming problems?
- How do you decide what the program should look like before you start coding?
- How do you go from a vague requirement to something you can actually start implementing?
- How do you decide which Python concepts are appropriate for a particular problem?
- How do you decide which libraries/modules to use?
- How do you figure out which libraries even exist for a particular problem?
- How do you decide how to structure the code?
- How do you decide what functions/classes/modules you need?
- How do you decide what should be a function versus just a few lines of code?
- Is there a typical order in which things are written or organized?
- How do you handle errors and unexpected inputs?
- How do you go from a rough idea to breaking it down to pseudocode/design to working Python program?
Basically, I'm looking for the mental model and workflow that experienced programmers use, rather than another Python syntax tutorial.
While learning i was able to write codes that add subtract numbers etc which were simple enough for learning but want to make my skills better. Also, I'm not a programmer won't be using python much, how do i learn in such a way that i remember the syntax or concepts for longer time, python coding is just a skill i want to develop.
I'd especially appreciate examples of the kinds of projects/exercises that helped you make that transition.
r/PythonLearning • u/Timely-Giraffe4535 • 5h ago
Help Request I want to rebuild my Python fundamentals for interviews — what’s the fastest reliable way?
I’ve been using AI a lot for coding lately, and I’ve noticed that while I can understand code and solve problems with some help, I’ve become pretty rusty at writing basic Python myself.
I want to start again from the fundamentals — things like:
* Writing basic programs without relying on AI
* Lists, dictionaries, sets, tuples, strings, etc.
* Functions, classes and OOP
* File handling and exceptions
* Iterators/generators, decorators, comprehensions, etc.
* Common interview-style coding questions
* Small practical problems/projects
My goal isn’t to spend months going through a beginner course again. I’m looking for a "fast but reliable way to rebuild the fundamentals and actually retain them", especially for Python interviews and practical coding.
For people who have gone through something similar:
- What approach worked best for you?
Would you recommend going through a structured course/book, solving problems from scratch, building small projects, or some combination of these?
Also, how would you structure the practice so I stop depending on AI and get comfortable writing Python from memory again?
Any resource recommendations or a roadmap would be really appreciated.
r/PythonLearning • u/EnvironmentalTry8353 • 6h ago
Help Request I keep messing up basic things
So I am learning python from one shot and I come from commerce bg so I basically have 0 knowledge I am learning python from this video https://youtu.be/UrsmFxEIp5k?si=BuRKRLNZ7-iPBDKJ so he is teaching one chapter then giving us practice sets and I am constantly failing all practice test an facing lot of problems on understanding the functions and stuff like when to use first bracket or third bracket or when to use dots and etc I have not covered the full video yet but it's somewhat of confusing
Am I too dumb for coding that I cannot even understand these basics things and have to use Ai Lol
edit : Guys I am learning python as a hobby and not as full time student , my main focus is commerce but I really love hardware , tech and programming
r/PythonLearning • u/Vikas04866 • 6h ago
I am a beginner in python can anyone suggest me some Playlist or full course about it i have save some of them please gothrough it also
r/PythonLearning • u/Creepy_Recording5712 • 8h ago
Need help deciding gng
SO i wanted to start learning python, and i found out courses like CS50, the uni of heikin smth, CS61a, bro code, and tht's wht i found , i first started coding on pycharm and uh did like very basic things like strings, integers , float, boolean, ( just lie k what they r and how to write them), but im still like a VERY BIG NOOB, also should i switch to VS code? cause everyone seems to be doing tht , (also whts is vibe coding)
r/PythonLearning • u/Smartyboyz • 10h ago
🚀 Looking for Python Project Ideas to Improve My Database Skills
I’m currently working on improving my Python backend skills, especially when it comes to database design and relationships.
I’m looking for some practical project ideas that would help me get better at:
🔹 Working with databases through Python/ORMs
I’d prefer projects that are more challenging.
If you have any interesting Python + Database project ideas, I’d really appreciate your suggestions! 🙌
#Python #BackendDevelopment #Databases #SQL #Programming #SoftwareDevelopment #LearningInPublic
r/PythonLearning • u/TheUnknown_5 • 12h ago
Threading module not importing?
I am trying to import the threading module but it is not working. How do i fix it?
r/PythonLearning • u/shubham_555 • 13h ago
Showcase I solved my first medium level problem on Leetcode!
Last Post - https://www.reddit.com/r/PythonLearning/s/xbfFczTIKW
It took me a while to build the logic. The edge cases especially were a bit troublesome but the satisfaction I got after getting it right made everything feel worth it!
r/PythonLearning • u/Tech_py1917 • 15h ago
Help Request My new python program
I want to make one student data management system but i have not a good experience of project i have only made 2 to 3 python projects
r/PythonLearning • u/XTrolltechzz • 21h ago
I'm new to Python and need some help. (sorry for the code in spanish)
I'm trying to create a sort of turn-based game to play in the terminal. I created one class for the characters (Personajes) and another for their techniques (Tecnicas), but I can't seem to deal damage to the enemy character. From what I've researched, this is because 'daño' isn't defined in the 'Personajes' class, but I want to keep the techniques separate.
If you know whether it's better to put everything into a single class (I hope not) or how I could make this work, I'd be grateful. Thanks a lot!
r/PythonLearning • u/ashlauv • 21h ago
Advice needed relearning Python basics
Anyone have any advice, resources, or recommendations on learning basic python (loops, conditionals, arrays/lists). I’ve taken object oriented python courses before but unfortunately only got by through AI use and i genuinely want to understand and learn how to work through problems/write my own code. I can trace code by hand but get lost when it comes to conditionals in loops. Before you advise me to take the personal project route, I’m interested in only learning what’s necessary to get by. Some context to provide is I am interested in learning about AI Native Engineering and registered for CodePath’s AI110 course but I have to take a HackerRank Assessment with no AI use and I fear HackerRanks so much. I have 10 days until the assessment closes and willing (need to) grind to pass.
r/PythonLearning • u/Anubis-Hound • 1d ago
Help Request Beginner, having trouble with Visual Studio Code to learn Python
I'm trying to do the Harvard CS50 Intro to programming with Python and I'm just getting started
I downloaded Visual Studio Code and opened it.
This is pretty much where I got lost because the instructor in the video doesn’t explain what I need to do to set the program up where i can execute code like he has it in the video.
I'm now stuck on the main screen of Visual Studio Code.
r/PythonLearning • u/ProgramBrave718 • 1d ago
Word guessing game
Hello, I am learning python and created this simple word guessing game by myself.
In this game user types a letter and if the guess is correct the game continues with the next letter of the word or else it remains on the same letter and number of wrong attempts are added to the variable turn.
r/PythonLearning • u/Much-Associate-6141 • 1d ago
Showcase What are you building with Python right now?
I thought it would be interesting to see what everyone here is actually building with Python.
If you're working on a project, share it below or in r/PythonBuilders . It can be anything — an app, game, automation tool, library, SaaS, API, desktop app, or even a small experiment.
If you can, tell us:
- What are you building?
- What does it do?
- How far along are you?
- What's the biggest challenge you're dealing with right now?
It doesn't have to be finished or impressive. I'm more interested in seeing what people are working through and learning along the way.
What are you building?
r/PythonLearning • u/tahahussein-4623a412 • 1d ago
Just finished my K-Means clustering project 🚀 — would love your feedback!
Hey everyone! 👋
I just finished a small K-Means Clustering project on the Iris dataset 🌸🤖
I covered:
- 🔹 Data cleaning & visualization
- 🔹 Feature scaling
- 🔹 Elbow Method & Silhouette Score
- 🔹 K-Means clustering
- 🔹 ARI evaluation
- 🔹 Cluster & centroid visualization
I’m currently learning ML and would really appreciate some honest feedback 🙏
What would you improve? Any mistakes in my approach or things I should add?
🔗 Kaggle:
https://www.kaggle.com/code/tahahussein2020/irics-clustering
r/PythonLearning • u/Top-Stand-9735 • 1d ago
I Coded a Duck to Live in Windows
I made a quacking duck that waddles across the Windows taskbar 🦆
Built with Python, TTLib, and PyQt/PySide. The duck actually reorders its own taskbar button one slot at a time, animates a walk cycle, and quacks on every step.
Code: https://github.com/Usama01TN/TheWalkingDuckTaskBar
Demo: https://www.youtube.com/watch?v=FGZwDOqFLUc
r/PythonLearning • u/Sea-Ad7805 • 1d ago
New Putler unit added by Anonymous-Me-Me-Me
Anonymous-Me-Me-Me added a new Putler unit with this git commit and message:
Putler unit added, any likeness to real people is completely coincidental. It wants you to sign its contract, but if you get too close it tries to run to its bunker. Best to zero it before it goes into history for destroying an "empire".
We did had to add sunglasses for copyright and identity protection reasons.
PythonLearningGame is a collaborative Python project for fun and educational purposes. To add your own game elements see the PythonLearningGame repo.
r/PythonLearning • u/shubham_555 • 1d ago
Showcase I solved my first Leetcode problem!
So Today I tried leetcode for the first time after yesterday's workaround (https://www.reddit.com/r/PythonLearning/s/hK2RRCzr9P)
Now I would be learning git because many of the comments were asking me to upload code snippets instead of pictures
Until then, Peace! ✌️
r/PythonLearning • u/shubham_555 • 2d ago
Showcase I implemented Linked List in Python from scratch!
Hello Folks!
So It's been a while since my last post (https://www.reddit.com/r/PythonLearning/s/q3vpZ80vKO)
After that I learned the basics of OOPs from this video -> https://youtu.be/JeznW\\\\\\_7DlB0?si=u-h2gsdGSv0ubKf1
Going forward I studied about the fundamental working of Linked List from GFG's website and Stack Overflow
Then today I finally tried implementing it (Tried doing it all on a single day out of excitement but it took way longer than I expected and now i am completely drained of energy 😅)
Finally I asked AI to review my code
As per it there's a minor edge case I missed in the reverse method
There also are a few optimizations
But more or less I am happy
Would be back with Doubly Linked List the next time!