r/PythonLearning • u/ilikeraspberries123 • Aug 26 '25
Project - Password Analyzer
Topic - Project on what I've learnt so far
Hi all! Just finished this project which includes everything that I've learnt so far. Took 2/3 days but got there, honestly I'm really happy that I started it. I haven't included anything such as dictionaries yet (will be studying them next) but tried to include as much of lists and tuples I could. Any feedback would be highly appreciated as always, would love to hear others solutions to certain areas.
Thanks!
101
Upvotes







2
u/[deleted] Sep 02 '25
This is nice. I'd have one recommendation that will be something you'll thank me for. In like 10 years, you will think back and say "man that random dude gave some solid advice"
Write tests.
this code is 100% unit testable. Why write tests for something that works? In this case its good practice, in the future its *BECAUSE YOU WILL KNOW IT STILL WORKS*. When someone else is looking through piles of code for a bug, and they know this bit is bulletproof, they'll not have to waste time considering it.