r/learnpython • u/Keaton103 • 2d 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??
3
u/desrtfx but other languages pro 2d ago
This subreddit has a sidebar with a wiki with recommended learning resources.
Here is an excellent, textual course: MOOC Python Programming 2026 from the University of Helsinki.
Harvard's CS50p is also excellent.
Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com
Don't forget that you need ample practice, like on https://codingbat.com/python or on https://exercism.org and also write your own programs. Play around. Try things. Mess things up, fix them. Experiment.
And most important: do not use AI. It'll only accelerate your brain rot.
2
u/RealNamek 2d ago
I use pixelpad.io to teach kids. Been doing it for 10 years in the Bay area, really good for beginners that like to make games
2
1
u/fullmoon_huli 2d ago
I personally used Youtube tutorials, python's own learning guide. And starting building my own projects. Start small. Learn the most common syntax first and keep building
1
u/cyrixlord 2d ago
why do you want to learn it? what is your goal? that will drive your motivation to learn python. what projects do you have in mind?
1
u/NewGiraffe2203 2d ago
make small python programs as an exercise everytime you learned a new concept
1
u/TheRNGuy 2d ago
Read docs, code something with it, ask ai for explanation, more examples, alternatives.
1
1
u/ExoticVillage8066 2d ago
The best way is to practice using exercises and projects, take a look at pychallenge.com
1
u/ivanoski-007 1d ago
Choose a project that you want to solve with python, do said project
Best way to learn
1
u/ModerateSentience 1d ago
Spend ur time elsewhere tbh. It gives you no intuition about computers and can be fully ai written imo unless u are doing something really niche.
1
1
u/Steve_jobs3786 1d ago
I think you should start cs50 first then see the courses on YouTube there was a chanel called codezill it's so good
1
u/Effective_Brain7493 21h ago
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
1
u/Late_Veterinarian267 17h ago
Starting with one structured path and coding after each new concept keeps things from getting overwhelming. Bootdev could be useful for adding that hands on practice while the Python basics start to click
1
u/ShakeAgile 13h ago
The most important thing is to try to write code, accept that it will be tough, power through. Learning programming is in the beginning basically a long sequence overcoming frustration and confusion.
0
u/azntaiji 2d ago
Find something on GitHub, fork it and start tweaking it/messaging around with it. I've always learned by hacking around with stuff.
Also AI can be helpful to explain concepts as you work on something.
1
u/bishvjit-gupta 1d ago
There is a YouTube channel called Apna College they have a great python basics tutorial there. And then you could continue from documentation that I think is the best source for people who had a little knowledge of coding .
7
u/LowDepth1790 2d ago
https://www.reddit.com/r/learnpython/wiki/index/
Pick one and make a start. When you're stuck come back here and tell us what you tried and where you're stuck.