Simple Python Login/Signup system functions
h
SpaceFire (84)

yes its short- but its functional

what does it do?

it has functions for logging users in, creating accounts and hacking user databases.

How to create an account

to create an account use the function

create(user,psw,db)

user is the username you ant to use

password is for which password you want to give that user

db is for which dictionary you want to add the user to.
(this will return the name of the user)

how to log a user in

to log in a user we use

login(user,psw,db)

if the username and password are correct it will return True

if either of them are incorrect it will return False.

how to get a list of all users in a dictionary

hack(db)

db like before is the dictionary you want to use.

it will return the value of all the usernames and passwords in that dictionary.

FEEDBACK AND IDEAS FOR MORE FEATURES ARE APPRECIATED PLEASE GIVE THEM

You are viewing a single comment. View All
ZDev1 (227)

it doesn't run anything