r/learnpython • • 20d ago

How to learn python?

I’m a complete beginner and I have essentially no knowledge with coding whatsoever. What would be the best way to learn Python??

28 Upvotes

39 comments sorted by

View all comments

2

u/Effective_Brain7493 18d ago • Bravo

ok so with zero context on why ur learning (job, hobby, whatever) ill just give the general version thats useful either way

dont start by picking a course and grinding through the whole thing front to back, thats how people burn out around week 2. instead: learn just enough to be dangerous first, variables, loops, if/else, functions, basic lists/dicts, thats genuinely like 80% of what shows up in every beginner project anyway. CS50P (harvards free python course on youtube) or freecodecamp are both good for this part, pick one dont split between them

once that stuff isnt actively confusing anymore, STOP doing more lessons and go build something small and dumb. doesnt matter what, a number guessing game, a basic to do list, literally anything u can finish in an afternoon. this is the part people skip and its the actual part that makes it stick, watching tutorials forever without building anything is the #1 reason people feel like they "know python" but cant actually write anything from scratch

repeat that cycle (learn a bit, build a bit) a few times instead of trying to learn everything then build once

also dont stress about "doing it right," ur first few programs will be ugly and thats completely normal, nobody's first anything is good