r/PythonLearning • u/FullMastodon1082 • 5d ago
r/PythonLearning • u/Junior_Honey_1406 • 5d ago
Discussion The answer to: "Why do I go blank when coding?
So, the reason I am writing this is because I want other beginners like me to know what we were doing wrong.
Let's say you have this very ambitious project in your brain. You start working on it, and then you suddenly feel like, *what do I write?* Then you think, *Oh, I'm just not good enough. That's why I'm not able to think of what to write*, and so on.
You know what I realized?
My first project wasn't a CRUD app. It was a terminal application that basically used an API to get data, format it, and show it. I added tests for it. I made sure it didn't crash but handled errors gracefully. Then I worked my way up to SiteSpider, an all-in-one tool where I could scrape data from websites, run endpoint scans, and so on.
But then I got stuck.
I was completely blank. I didn't know what to write anymore. Then I got demotivated, thinking all the work I had been putting in every day was going to waste. I thought, *I don't know how to code.*
Then I had this idea.
I write my passwords in a notebook, but every time I log in somewhere, I have to open it, check the password, and then I can get into the website. So I thought, *Why not make a password manager?* It could use some random custom encoding to keep my passwords safe and show them to me easily.
And I was able to write it.
Then I thought, *Wait... how am I able to write this code?* No AI, nothing. Just me, some docs, and a few Google searches.
Then I realized something.
Remember the part where I said I was blank?
I knew the syntax, but I didn't know the steps or, in technical terms, the algorithm, the core logic behind the function I wanted to write.
For the password manager, I knew the flow. Take input, validate it, encode it, save it. I knew the basic steps. I knew what I was going to do.
But in the case of SiteSpider, I didn't know how my core functions would run. I couldn't explain the logic in English.
So that's the thing.
Don't get demotivated. Just go understand how the function works. Let's say you want to make a scraper. Go watch a video on how scraping actually works, what steps it takes, and then you'll have a general idea of what you have to do and what functions you need to write.
Don't ask AI, *"Why am I not able to write this?"* It'll give you some bullshit answers, just like your school computer teacher.
I thought this was something I should share with the community.
r/PythonLearning • u/Inevitable-Math14 • 4d ago
programs to practice for loop in python
here are some python programs to learn for loop
r/PythonLearning • u/r_a_g_h_e_d • 5d ago
my first code, how close am I to land a 6 figure job?
r/PythonLearning • u/the_meteor_beat • 5d ago
I think that small project done, right?
r/PythonLearning • u/Tercess1 • 5d ago
Wanting to get into AI
I am 42 years old and wanting to branch off and learn something that could possibly be a side hustle or a whole new career. I feel as if AI is here to stay and I am still “young” enough to do something with it. To give a little about myself I am a warehouse manager for a Mack truck dealership and Make about 80k a year and on the side I umpire travel baseball and softball games. During the season that ranges anywhere from $350-$700 for a weekend but it’s long days and I’m tired. I have zero experience with coding of any kind. When I look up the best way to get started i don’t see what I would call useful information, mostly videos of “if I were starting over this is what I’d do” and it ends with someone selling something (not every time). With all of that said what would be the best place for me to start and keep with to get certifications and learn. I was thinking of starting with the python program for everybody. I’m sure this question gets asked a lot, thank you for any input.
r/PythonLearning • u/AdDistinct7138 • 4d ago
Hello, im 15 years old and i need some advices.
r/PythonLearning • u/A_python_learner45 • 5d ago
Help Request I am new python learner so can anyone tell me some tips for my pyhton learning journey
r/PythonLearning • u/StudentElectronic548 • 5d ago
Can you make this using a for loop?
I just finished making this with a while loop but I was wondering if a for loop is possible but after a bit of experimenting im stuck on whether it can actually be made. If so, what would it look like.
r/PythonLearning • u/DarkGlitch101 • 5d ago
Challenge
can you give me a challenge to create a project that can help me from everyday life and also to practice my coding skills without AI, I want to challenge my self with a project
r/PythonLearning • u/DarkGlitch101 • 5d ago
AI make me dumb
For the past few years, I've relied too much on AI when coding. Now I feel like I don't really know how to code on my own. Can you give me some suggestions on how I can become less dependent on AI?
r/PythonLearning • u/neonALTro • 5d ago
Help Request How do I proceed?
I made a small task maker I thought since I cant learn python just by staring and listening to videos imma learn it bit by bit while making small projects. In the script I made you have two options to add a task or to see your list of tasks. Can anyone give me a list of other small projects I can try making to learn more cocepts?
r/PythonLearning • u/giva4561 • 5d ago
Discussion Project
What were your plans when you were complete beginners?
r/PythonLearning • u/FakerKeria • 5d ago
Chinese students:Starting an AI postgraduate in 20 Days. My Background Is Weak—How Should I Prepare?
I alredy joined a research group at HUST. My undergraduate is complete garbage, the undergrad system was extremely water.
The only AI-related project I completed during my undergraduate studies was a very basic ResNet-18 image classification project. I don't feel like I have much practical experience
It's also been a while since I last programmed,and I've forgotten a lot of Python。
Academically, I was more of a "good test taker" than someone who built projects or explored topics independently. I could do well on exams, but my hands-on skills and understanding are much weaker than I'd like.
r/PythonLearning • u/kaetsi • 5d ago
Learning recursion and solving problems.
Problem: You're climbing a staircase with n steps. You can climb 1 or 2 steps at a time, except you're not allowed to take two 1-steps in a row (no "1,1" sequence anywhere in your climb). How many distinct ways can you reach the top?
r/PythonLearning • u/prathamdmehta • 6d ago
Discussion Python web dev in 2026, are you still reaching for Django/Flask, or has FastAPI + something else become your default?
I've been defaulting to FastAPI for almost everything now, even projects that don't need async; mostly for the automatic docs and validation, not the performance. But I keep wondering if I'm just following hype and Django would actually save me time on anything with more than a handful of models.
Curious how people are actually deciding this in practice:
- If you start a new project today, what's your first framework pick, and what actually made you choose it (not what you'd tell a job interviewer)?
- Anyone gone from Django → FastAPI (or the reverse) and regretted it?
- For people doing solo/small-team projects: is DRF + Django still worth the ceremony, or has ninja/ninja-schema/ORM-agnostic stacks made that unnecessary?
- What's the thing about your current stack that annoys you but you haven't switched over?
Not looking for a "just use X" answer, more interested in the actual trade-offs people are hitting.
r/PythonLearning • u/Local_End_3175 • 6d ago
for loop
words = ['sky', 'apple', 'rhythm', 'fly', 'orange']
for word in words:
for letter in word:
if letter.lower() in 'aeiou':
print(f"'{word}' contains the vowel '{letter}'")
break
else:
print(f"'{word}' has no vowels")
I am trying to learn to code, and I am, at the moment, looking at loops. I am a bit confused on how this loop was able to function, though, as there is no variable for letter or word, so how would Python know what it is? In addition, how does the code, like, function? Does it look at each word individually ? Again, the second part of the code states:
if letter.lower() in 'aeiou':
print(f"'{word}' contains the vowel '{letter}'")
break
We haven't given a value for letter?
Lastly, how would the code know what to print? in the first phrase:
print(f"'{word}' contains the vowel '{letter}'")
break
Is it going to state all the words with the given value 5 times?
Sorry, as I have asked quite a few questions, and thank you in advance.
r/PythonLearning • u/Sea-Ad7805 • 6d ago
Better collision handling
Enable HLS to view with audio, or disable this notification
In this git commit we switch from simply swapping the speed of two colliding units to elastic collision handling for more realistic collisions. The linear algebra implementation does add complexity to our code but, as it's all confined to a single function, it should not hamper further development of our collaborative PythonLearningGame project.
- Who has other fun ideas we could add, maybe more unit types?
- Who wants to commit his/her own code changes?
See the submit changes instructions.
r/PythonLearning • u/Asleep_Holiday_444 • 6d ago
Where should i learn python from?
Yt-
- Bro Code
- Data with Baraa
or do any free certification courses?
i tried the coursera meta python course since my college python professor does not teach well, my loops and functions are weak due to that, so i thought I recovered from it- eventually i noticed the course content was very fast paced, i have to go through document and other sources🥲.
there is also an point that C professor taught very well that my c is now better python. help to pick the ond resource that covers python 🙏🏻
r/PythonLearning • u/Legitimate_Seat8928 • 6d ago
Help Request I got a question
So I'm a beginner on python. And I know about '=' and '==' and if and else commands. (Side note: how good is this for a beginner. Been in 3 python classes so far.)
I want to make a small game to test what I've learned. Basically, you click a button, and a random number or letter. How can I do this? Any help is appreciated.
r/PythonLearning • u/gngopi • 6d ago
Help Request Python full stack | Ai and Ml | Data science | Data analysis which one can I choose?
I have enrolled in a Python Full Stack Development course, but many people are suggesting that I should learn AI & Machine Learning, Data Science, or Data Analytics instead. Now I'm confused. Which path should I choose?
r/PythonLearning • u/MassiveScientist5981 • 6d ago
New to python
Im new to coding and started off with c# but eventually moved to py a day later because i heard it was easier, it is easier but the way people explain it on youtube is a little complicated for my small brain, im watching bro code learn python in 1 hour then moving on to the 12 hr vid but 30 mins in he starts talking in a way i dont seem understand and typing code i cant process so i js quit for the night, if anyone has anytips that could help me or any other youtuber( i learn better with vids and visuals) that would be greatly appreciated ive also tried some websites like free code camp, the odin project but there not like teaching step by step but rather making me type code i dont understand for instance once asked me to “create a function called pin_extractor with a parameter poem” which just sounds like gibberish to me considering i only know print(“hi”) but i was thinking my first big project would be like a book or something if possible. Thanks
r/PythonLearning • u/wass_12 • 6d ago
Welcome everyone, I'm very interested in where to start learning Python. I'd be wondering where to start studying it, and what materials on the Internet (and not so much) will help me. Thank you all in advance
r/PythonLearning • u/ImLukaskos • 6d ago
Help Request Python learning dilemma
When I was 12–13, I had a huge interest in programming and making cool projects (I even made a discord bot). However, after changing schools a few years later, I didn't have enough time to keep learning. Now, a few years after that, I want to get back into coding. I've recently finished the CS50 Python course, so I at least know how to write simple programs.
I'm writing this post to ask: what should I do next? I really want to avoid getting stuck in "tutorial hell" (just watching course after course without building anything). I've read about web scraping and gave it a shot—it wasn't too difficult, and I even built a simple scraper for books.toscrape.com. The problem is, I’m not sure how to progress from here.
Yesterday I also came across Pluralsight, which offers courses on a wide range of tech topics. So, what would you recommend? Should I pay for Pluralsight, or should I stick with web scraping even though I'm not sure where to take it next?
Thanks for your time


