Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create login system in python

def Login():
  while (loop == 'true'):
      username = input("Please enter your username: ")
      if (username == CorrectUsername):
          password = input("Please enter your password: ")
          if (password == CorrectPassword):
              print("Logged in successfully as ") + username
              loop = 'false'
          else:
              print "Password incorrect!"
      else:
          print "Username incorrect!"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #login #system #python
ADD COMMENT
Topic
Name
5+9 =