Simple command line program to create login
raw_input to enter username and password
username and password stored in a dictionary
class UserRegistration(object):
username_and_password = {}
def __init__(self, username, password):
self.username = username
self.password = password
username = raw_input("Choose username>")
password = raw_input("Choose password>")
username_and_password[username] = password
Does this module follow convention / is it best practice? How can I optimize it? Is there a better standard to create logins/command line logins?