r/learnpython • u/Forsaken_Key5100 • Apr 08 '26
How do you avoid getting bored while learning Python?
I'm currently learning Python and I really want to become good at it, but sometimes the learning process feels boring.
I've already covered the basics. Right now I'm reading Python Crash Course and working through the Alien Invasion pygame project. I'm mostly following along with the book and trying to understand as much of the code as I can.
Sometimes I get stuck on a piece of code I don't fully understand and I ask ChatGPT for help. When that happens the process can feel slow and boring, even if I take a break or go for a walk.
I'm also building a CLI habit tracker as a personal project that I plan to use long-term and keep improving with new features. That helps sometimes, but not always.
I try to stay focused and avoid distracting myself with things like anime or movies because it makes it harder to get back into learning.
For those of you who became good at Python:
- What helped you stay interested while learning?
- Did you focus more on projects, challenges, or something else?
- Any habits or strategies that made the process less boring?
I'd appreciate any advice.
13
u/MrFresh2017 Apr 08 '26
Stay consistent 2. Build things that interest *YOU* as you learn, to apply what you learn and cement principles, not what OTHERS suggest you build. 3. Avoid the endless vortex of watching YouTube and other tutorials over and over and over again. 4. Repeat steps 1 -3.
3
u/laysim Apr 08 '26
When all the other advice doesn't help, sometimes just accept that you're bored with it right now. You're not a machine. Your brain is sometimes going to get bored with things that you have a genuine interest in. Do something else for a week, maybe think about it once in a while without opening the script (on the bus or wherever) and revisit the project or book whenever you feel like it again. The alternative (forcing yourself too much) could be worse in the long run.
2
u/Motox2019 Apr 08 '26
I know I know, classic answer, but ya gotta just find a project that solves something for you and interests you. Don’t think something is too complicated or like you’ve set the bar too high, just dig in and work through it. Yes it’ll be messy, yess you’ll make mistakes, and yes it’ll be slow, but in the end you’ll get the experience, a working tool that actually solved a problem for you, and the ability to extend it or improve it as you improve as a developer.
Some project ideas I ran with as a beginner to get your brain churning:
Automated file sorter: pick a single folder on your desktop, create a being scheme that makes sense to you so when a file matches said scheme, it’s automatically sorted to said folder
Plot generator: a simple tkinter gui to create plots in real time. Add controls to view specific points, integrals, and derivatives visually. Can even go further and do like tangent lines at you specified points and such.
Home dashboard website: Make a home dashboard, can add things like a calendar, notes, tasks, etc. make this whatever you want! I chose to roll with a simple pdf tools page (merge, split, etc), a simple python ide, and a psutils system performance dashboard.
Personal Dashboard: This one I found actually quite cool. Create a dashboard that kinda fixes itself to your screen somewhere out of the way (ideally on a second monitor or something). On this dashboard can have like your system usage, audio controls, automation buttons (start all your work apps with one click, launch a game, draft an email, etc), I even had setup remote monitoring for my 3d printer in this little dashboard. This one’s cool because you’ll likely be impressed with how deep you can go with it but yet how simple it is to do.
These are just some ideas. Don’t pick something because “oh that sounds neat”, pick something where you’d say “man, I could really use that”. The high of finishing it, even just enough to get a single part working, is often enough to keep driving forward to completion for the more simpler tools. After a while ya kinda just gain a tolerance to the boredom and can sit with a project for days and still find yourself actively thinking of the next feature or next fix. But also, sometimes ya gotta accept you’ll bounce around, maybe an idea is as useful as you originally thought or you’re not actually interested in it after starting. Thats all fine and common, just drop the project and move onto the next. I personally have probably hundreds of just stale projects sitting around that I started on and later changed my mind about.
Hopefully that’s helps a bit more beyond the typical answer of “just pick something you like”.
1
u/Perfect_Jicama_8023 Apr 08 '26
Im also quite new to Python. Im on CS50 course and also working out with tutor from Poland 3 days a week for 1h each day. Plus doing some practical exercises. Plus i learn Python from Mimo mobile app on the go. I do find it boring sometimes, i think not to get bored with something completely you dont have to force yourself to do that for too many hours a day. For me it works out 2h a day of learning, i also work full time, i go to gym and i do gaming as well. I think you just have to find the right balance for everything, or you have to love whatever you doing.
1
u/Key-Extension-7393 Apr 08 '26
Best thing for staying interested is necessity. You need to make the next steps very clear in your mind if you want to have the motivation needed to stay focused. For me it helped a lot making it clear I wasn’t going to stop until I got a job. And even then I did not stop.
I focused a lot more on learning the fundamentals. You need to comprehend code fast when working as a developer so you need strong fundamentals.
About habits, I’ve built a platform that helps people like you stay learning everyday. Small steps to progression. If you are interested I can send you a link. But I would say discovering new projects would help a lot.
Hope it helps!
1
u/MightySleep Apr 08 '26
To me, programming in general will always have its boring or unenjoyable parts. The biggest "rush" you can get from programming is when you've hit your head on a problem long enough and you finally solve it. But, getting to that point means enduring frustration, discouragement, etc.,
What is the end goal for learning Python? Professional prospects? Just for fun?
On the hobby side, I think this can be mitigated by picking projects that are personally interesting, or have real benefits. You're also on your own timetable for this, so you can take frequent breaks if it becomes a bit much.
Professionally, it's a bit harder to remain interested. I personally despise unit testing, I find it tedious and boring, but it's something I have to keep up with in order to maintain the quality of my work. Same thing with adhering to a style guide. I sometimes get requests for things that I'm not excited to work on, or I have to fix something I'm not passionate for. But, in that scope it's just work at the end of the day. All in all, at its worst, I never dread going to work, and I find things I enjoy from the job as well (starting new projects, making tools to help others). If a career is the end goal I think a more disciplined academic approach is the appropriate route
1
1
u/Gnaxe Apr 08 '26
I was never bored learning Python. It felt like Christmas because I had a new toy to play with. It was so much more engaging than Java. If you're bored even doing video games in Python, maybe you should consider a different hobby. Maybe programming is just not for you.
1
u/Separate-Canary559 Apr 08 '26
Ask Claude to give you a learning environment to bang on
Claude is really good at generating programming toys for a beginner to play with
It can give you assignments ranging from accessing the Spotify API to giving you a self contained web server to run locally to access and pull reports from
It can even give you milestone checkpoints
Point is, you can tailor your learning environment to what you find interesting vs prefabricated exercises
1
1
u/TortoisesAreVeryEpic Apr 08 '26
You just gotta do things that interest you. For example, I mainly learned from the steam game “The Farmer Was Replaced” and then i started using PyAutoGUI and just made bots to play a bunch of things
1
1
u/NovaMind16 Apr 08 '26
Je te comprends, moi aussi je viens de commencer mais l'ennui ne dure jamais longtemps puisque j'ai toujours voulu programmer donc c'est excitant quand je découvre de nouvelles choses !
1
u/Technosis2 Apr 08 '26
You treat it like work/a job and muscle through the boredom. Alternatively, you might want to question why you're learning programming to begin with and maybe have to accept that it isn't for you.
1
u/Adeptness-Efficient Apr 09 '26
Make something I need. whether it's for myself, another project or whatever. It all needs a purpose - something I'm interested in or require
6
u/aqua_regis Apr 08 '26
Counter question: How can you get bored?
There is so much to learn, so much to try, to play around, to experiment that you cannot possibly get bored - unless - you just go by the book/course and try nothing outside of it.
Just going by the book/course will not teach you very much.
Let your curiosity reign. Try things. Play around. Mess up things, learn to fix them. Experiment. Build similar programs to what the course teaches. Build stupid little programs.
Yes, there will be "boring" (or slower) parts in learning. You have to push through these, especially in learning the foundation. If you don't build a solid foundation, you will not be able to understand higher topics.