Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to make simple login in python

username = input(' enter your username: ')
if username == 'Put Your Username Here':#change this
   print("checking username")
   time.sleep(0.5)
   print("username is right") 
   password = input(' type your password: ')
   if password == 'Put Your Password Here':#change this
    time.sleep(0.5) 
   else:
    exit()
else:
 exit()    
Comment

login python code

username = input(' enter your username: ')
if username == 'Put Your Username Here':#change this
   print("checking username")
   time.sleep(0.5)
   print("username is right") 
   password = input(' type your password: ')
   if password == 'Put Your Password Here':#change this
    time.sleep(0.5) 
   else:
    exit()
else:
 exit()    
Comment

PREVIOUS NEXT
Code Example
Python :: Example of ceil method in python 
Python :: django swagger 
Python :: splitting strings in python 
Python :: how to handle response from tkinter messagebox.askquestion() function in Python 
Python :: sorted function in python 3 
Python :: copy array along axis numpy 
Python :: qr decomposition python 
Python :: subplots 
Python :: two underscores python 
Python :: xlabel not showing matplotlib 
Python :: pandas from range of columns 
Python :: django make app 
Python :: literal_eval in python 
Python :: os.filename 
Python :: save variable to use in other jupyter notebook 
Python :: channels_redis 
Python :: python dictionary input 
Python :: str count python 
Python :: Use len with list 
Python :: python pip 
Python :: fast api template syntax 
Python :: sum values 
Python :: How to Access Items in a Set in Python 
Python :: import from parent directory python 
Python :: split a column in pandas 
Python :: push button raspberry pi 
Python :: PermissionError: [Errno 13] Permission denied on flask 
Python :: how to turn a string into an integer python 
Python :: loading bar 
Python :: python check if number contains digit 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =