r/learnpython • u/Vast_Battle5414 • 18h ago
How do you escape tutorial hell and actually become good at Python?
Learning Python syntax is one thing, but solving a problem from scratch feels completely different.
What small projects or daily exercises would you recommend to develop real programming skills without constantly following tutorials?
31
Upvotes
23
u/cycloneash 18h ago
Pick something you're interested in and do it. Break it down into small parts, turn off AI and try and do it.
6
u/Explorer651 17h ago
Exercism's Python track is worth a look. It has around 150 exercises where you write the solution yourself, and once you've solved one you can submit it to volunteer mentors for feedback on writing more idiomatic Python.
4
u/Educational_Virus672 16h ago
open the ide and smash the keyboard until you get a answer
2
u/FitAmphibian8437 16h ago
Use the iris and titanic datasets
2
u/billsil 12h ago
Just work on something you care about.
2
u/ApprehensiveSimple60 17h ago
I‘d recommend advent of code, also puzzles from previous years.
I did them, then asked Claude for evaluation and a gap analysis. Based on what was found I asked Claude to build a learning series with exercises, specifically to address my gaps.
1
u/Eastern-Question4682 18h ago
the main reason people get stuck in tutroial hell is watching someone else solve the whole problem in order, instead of struggling through bugs on your own. the best way out is picking a tiny annoying task from your own daily computer use and refusing to watch a guide for it
for example, write a script that sorts your messy downloads folder by file type, scrapes prices from a store page you check often and pings you when something drops, or cleans up a rough csv file. break the probem down into tiny pieces on paper first, like how do i read a folder, then how do i move one file, and only search official docs or stackoverflow when you hit a specific error
try to keep your projects small enough that you can finish one in a weekend. finishing three tiny ugly scripts from zero teaches you way more real python than finishing ten big video courses, my first porjects were simple console games, password generators and websites, they were really ugly and messy, but it gives a lot of expierence
1
u/Solonotix 17h ago
Like the other guys said, the way out of tutorial hell is to just do the thing. I usually recommend it as a task you are particularly interested in or familiar with. Something where you can recognize that the result is wrong at a glance.
Usually you start with a dumb first pass that kind of does the thing, but it isn't quite right. You tweak it in a way you think should work, only for it to be even worse. So then you continue refactoring until you finally have something resembling your desired output.
At this point, you will look back at when you've written and probably think it's a mess (if you're anything like me). This is where you start to refine the process. Things like adding ways to pass input values to the execution, or new formats, maybe multiple results at once instead of just one, interactive mode, etc. Each of these goals will require you to learn how to achieve that result.
Eventually, you end up with a bunch of new solutions and approaches to problems you never would have thought to ask about. That is how specialization begins, and eventually it leads to expertise. This is true of any language and/or framework.
1
u/EnvironmentalDot9131 17h ago
The tutorial can be escaped by managing the systems
1
u/Fastpast93 17h ago
I ask the same question and no one can give a straight answer. I recommend you make a Rock, Paper Scissors program, a calculator program, and a sorting program.
1
u/Pericombobulator 16h ago
You need to work on projects that interest you. In my case, they were ways to automate things like creating reports from excel documents or my main interest at the time; web scraping.
1
u/GatewayNotFound 16h ago
The best way out of tutorial hell is to build ugly, useful scripts for your own daily annoyances instead of following generic "build a calculator" guides. Start with tiny CLI tools: a script that automatically sorts your messy Downloads folder by file type, a web scraper that pings you when a price drops, or a quick log parser. You'll get stuck a lot—and Googling specific errors or reading docs to fix your own broken code is where the real learning actually happens.
1
u/undernamed1101 14h ago
I learned by trial and error to learn the specifics. Error exception handling, TypeErrors, Module missing etc. Just to name a few ways.
1
u/kilkil 11h ago
do exercises online. without a guide or tutorial. start with easy difficulty, then transition to medium.
the goal is, instead of just "knowing" syntax, getting comfortable with it. so that you can reason about it a little more intuitively.
then once you feel like you've developed a more confident intuitition about the basics of the syntax... try making a simple todo list app on your own. it doesn't need an actual UI, just make a little program that uses
input()to take user interaction andprint()to display things to the user.make a basic version of the app, then try to think of some cool features to add and try to figure out how you would add them.
1
u/Just__Liberty 11h ago
Put the keyboard away at the beginning of a non-trivial project/problem and get out a pad of paper. Sketch the problem graphically. Think about what classes and/or data structures you might need to represent the elements of the problem, after figuring out what those elements are. Think about what the input will look like and what you want the result/output to look like. Think about what methods or functions you need to get from the input to the output. What you do next varies between people (e.g. top down vs bottom up), but I like to build a few simple tools that I think I'll need. These may end up being useful, but they'll help me refine all of the above. As others have said, break the problem down into small pieces and code those pieces.
1
u/duane11583 11h ago
how did you learn math?
or english?
same way: you do exercises
1
u/TJATAW 10h ago
On every tutorial you do, and ones you did in the past, add something to them. A new function or feature. Maybe add a bunch of features.
A new button on a calculator, or a calendar into a note taking app, or a way to tag people & projects, or... whatever.
It means you have no one telling you what to do, or how to do it. You have to come up with the idea, and then figure it out.
A large part of what I do at work is add something to existing code.
1
u/good_name_0 9h ago
10y in and I still use tutorials for tools and concepts I'm unfamiliar with.
Something I used to do with students is start with the problem in our native language. Then we'd slowly rewrite it into pseudo code, and then slowly rewrite it into the programming language we were using.
1
u/StrayFeral 7h ago
Leetcode. But also better come up with an idea for an app and do it.
1
u/Expensivemistakes01 7h ago
I’m just started learning Python - 2 weeks in . I learn something new everyday and had Claude give me a project to do ( from the beginning ) I just add something new to the project everyday
1
u/TheLimeyCanuck 5h ago
Forget tutorials and start building things you want for your own use. When you hit a wall research how to do only that in Python. You will learn much quicker that way because it's much easer to retain stuff you actually use right away.
I built a 30+ year career as a contract developer in a dozen languages and multiple platforms that way with no formal training. Before I retired I was making 250-350K/yr, every year, and that was a decade ago.
1
u/WangChud 4h ago
That's the neat part: You don't.
You just keep building and learning.
1
u/Real_Art_7528 2h ago
That’s a great question…
-1
u/FortyThousandBees 8h ago
Genuinely, just pick a cool project you want to build and use a coding agent (I recommend Claude because it's not really trained to kiss your a** like most other frontier models), but have the agent help you write out a spec first, and make sure that while you're doing it agent knows you're the one making all the design decisions. I typically word my prompt as "help me identify any ambiguities in this specification and ask me how to resolve them". The agent knows what all the reasonable and well-established architectural decisions are for the kind of system you're trying to construct, so it will be able to show you what architectures are standard in practice, and, because this is ideally something you actually are curious about, you'll actually find it exciting to learn what the agent is showing you, and, if you're anything like me, you'll find yourself learning a whole lot more than you thought you could using a coding agent.
-1
u/[deleted] 18h ago
[removed] — view removed comment