MCPcopy Create free account
hub / github.com/geekcomputers/Python / login

Function login

login.py:25–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24# This is Login Function
25def login():
26 # for clear the screen
27 os.system("clear")
28 print("\033[1;36;49m")
29 logo()
30 print("\033[1;36;49m")
31 print("")
32 usr = input("Enter your Username : ")
33 # This is username you can change here
34 usr1 = "raj"
35 psw = getpass("Enter Your Password : ")
36 # This is Password you can change here
37 psw1 = "5898"
38 if usr == usr1 and psw == psw1:
39 print("\033[1;92mlogin successfully")
40 os.system("clear")
41 print("\033[1;36;49m")
42 logo()
43 else:
44 print("\033[1;91m Wrong")
45
46 login()
47
48
49# This is main function

Callers 1

login.pyFile · 0.70

Calls 1

logoFunction · 0.85

Tested by

no test coverage detected