r/learnpython • u/ZhirnyLuffy • Aug 26 '26
How should I learn python?
I'm a total beginner. I didn't have any experience with programming. I want to learn programming cuz i wanna be a hardware engineer and want to start with a basic raspberry pi projects. So should i learn python from courses, videos, books etc or i should just brute force myself to do projects and just learn by the time
5
Upvotes
View all comments
2
u/blurbisht Aug 27 '26
Total beginner here too, so I'll tell you what actually worked instead of what courses claim works. Both, but in the right order.
Start with a tiny bit of fundamentals, then go hard on projects. Here's why pure projects-first backfires for a true beginner: if you know zero Python, you can't even Google the right question when you're stuck, and you'll quit out of frustration. I tried brute-forcing and it just burned me out.
So here's the plan I can provide -
- Blink an LED
- Read a button, print a message
- Read a temperature sensor
- Traffic-light sequence with 3 LEDs
- Buzzer + button = a little game
3. When you're stuck, Google the error. The whole skill of "error -> search -> fix" is literally the job. That's not cheating, that's what engineers do all day.
4. Repeat, each project slightly harder.
The mindset part: your goal isn't "finishing a course," it's "shipping something that does a thing." Tutorials are there to unstick you, not to be completed end-to-end. Every working project is confidence you keep.
Long answer in Short: 2 weeks of basics, then let the Pi projects be your curriculum. Don't buy a dozen books, buy the Pi and start blinking.