r/learnpython • • 6d ago

I keep starting small Python projects and abandoning them at like 70% — how do you actually finish one?

0 Upvotes

18 comments sorted by

View all comments

1

u/Asly97 6d 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.

0

u/[deleted] 5d ago

[removed] — view removed comment

1

u/Asly97 5d ago

For the clip sorter it could be something you can check in a minute: drop 10 clips in a test folder, run it once, every clip ends up in the right game folder. When that passes you're allowed to stop, even if the code is ugly.