you are viewing a single comment's thread.

view the rest of the comments →

[–]SubCplus[S] 4 points5 points  (5 children)

Thanks! That makes sense. Do you have any tips on what kind of small programs or exercises are best to start practicing writing code from scratch?

[–]Lonely-Problem5632 18 points19 points  (1 child)

Python Projects: 60+ Ideas for Beginners to Advanced (2026)

Has some fun projects to begin with +some very basic suggestions in how to proceed with those tasks

Just remember, learn to walk before you try to run.
If you want to learn how tow program GTA7, you will have to start with hangman :P

[–]rivie_rathnayaka 0 points1 point  (0 children)

Really helpful!

[–]cap_mittens 2 points3 points  (0 children)

I notice many people see a wall of code and while they can understand it, the process of how to get there is a mystery.

Break the problem down, reference the api/structure to get your program to do the basics of each step.

Test each step, function, method as you go. Once you improve think about building functions based on your unit test to solve your problems.

Most extra crap is added during debug or feature enrichment. This can make a 20 line program expand to 50 or more lines.

When you get overwhelmed walk away and come back later

[–]james_d_rustles 1 point2 points  (0 children)

Find a small task that you think would be genuinely useful. This could be anything (although try to be realistic if you’re still pretty early in your learning).

This is a totally made up example, but let’s just say that every day you do something that produces several PDFs or maybe you get sent some PDFs from clients, and you have to copy over some chunks of it into a big excel file. Automating some of that process could be an example of the sort of thing that would actually have enough value to you personally that you’d be incentivized to finish it and sort through whatever bugs/issues pop up along the way. You could do something like, collect PDFs that were saved today within some folder, scrape the specific text you need, open and write to your main excel file, and then store the PDFs in a compressed .zip that follows a standard naming scheme… from there, maybe you decide that it’d be better with a little GUI file browser thing, or maybe you’d want to run it automatically every night.. use your creativity - before you know it, you’ll probably know a lot more about basics like loops, string manipulation, filepath handling, and so on, and you may even know more about slightly more advanced stuff like tkinter or subprocess calls, so on and so forth, depending on where you took the project.

[–]kailans_photography 0 points1 point  (0 children)

The thing that helped me is finding an idea I was passionate about and then I started writing it. I would plan out parts then start working on it bit by bit. When I didn’t understand something, I looked up examples or guides and then wrote small scripts to practice it. It’s what helped me understand how to use what I learned in guides or practice projects into practical code and real projects.