Python - User login and sign-up system
How to make a user sign-up and login system in Python 3?
:D i have a tutorial on this!!here, This uses pickle, it will save data into a file, then you can load it. So you can save the password in a file, then when they are guessing it, load it up and see if they are correct. YOu can make the login thing just by making a new file and putting their info in another file
password = "bob"
pass_count = 0
while pass_count < 5:
pass_attempt = input("Password: ")
if pass_attempt = password:
pass_count = pass_count + 1
I'm thinking something like that should work. Sign up should work the same, just give them an option to create or login. And then ask them for a username and password. Add that to the list of usernames. And when a user puts in their username set the value of password to their corresponding password. I'm not sure how to save items although.