| 23 | |
| 24 | # This is Login Function |
| 25 | def 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 |