r/learnpython • u/MoreScorpion289 • Sep 04 '26
My login/account creation system in Python, part of a bigger project I'm building as I learn
This is a console based account system I've been building as I learn Python. Right now it lets you create an account with username and password rules (length limits, and the password needs a letter, a number, and a special character), log in with a 3 attempt lockout, and pick from a simple menu.
It's a work in progress and part of a bigger project. Next I want to add a to-do list and notes, then save the data to a file, and eventually hash the passwords instead of storing them as plain text.
The three password checks are repetitive. I haven't learned functions yet so I did them the long way with separate loops. I already know functions are the fix and that's my next topic, so you don't need to only point that out, but any other feedback is welcome.
I used AI (Claude) as a tutor to understand concepts and point me toward my own bugs, but I wrote and debugged every line myself. I'm learning how to code through the MOOC.
GitHub: https://github.com/mart23inez/Personal-Account-System/tree/main
What would you improve or build next?
3
u/AmanBabuHemant Sep 04 '26
user can just re-run the program and continue attemping :)
1
u/[deleted] Sep 06 '26
[removed] — view removed comment