r/learnpython • u/acfot • 5d ago
I keep starting small Python projects and abandoning them at like 70% — how do you actually finish one?
I've got this folder on my laptop that's basically a graveyard of half-finished Python stuff. There's a script that was supposed to sort my Shorts clips by game, a little tool for my Telegram bot that I got working and then just... stopped touching, and a data thing I started after watching one too many pandas tutorials.
They all get to the same point. The fun part's done, the thing mostly works, and then there's this last boring bit left — error handling, or making it not break on weird input, or just tidying it up enough that I'd actually use it. And that's where I lose interest and open a new file instead.
It's weird because I do finish things when someone else is waiting on them. College assignments get done, obviously. But the stuff that's just for me? It sits there at 70% forever.
So how do people actually push through that last stretch? Do you just force yourself to finish one small thing a week, or do you pick projects that are small enough that there is no boring last bit? Still figuring out whether my problem is discipline or just picking projects that are too big for the time I actually have.
1
u/Asly97 5d ago
Your own post kind of answers it: you finish when someone is waiting. So the trick is making something wait on it. A few things that help:
Write down what done means before you start, one or two lines. "Moves each clip into a folder per game and skips files it can't read" is done. "Handles every weird input" never is.
Ship it ugly. A clip sorter that chokes on one odd filename but works on the other 95% is finished enough to use. Fix edge cases when they actually bite you, not before.
Start using it for real the moment it sort of works. Once you rely on it, the bugs stop being boring and start being annoying, and annoying stuff gets fixed.
When you stop for the day, leave the single next step as a comment at the top of the file. Coming back to "wrap the file move in try/except" is way easier than coming back to a vague 70%.
No new project folder until one old one is either finished or deleted on purpose.
Also, if the pandas one was mostly about learning pandas, it might already be done. Calling it finished and moving on is allowed.