Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- while True:
- choice = int(input("Enter Password: "))
- if (choice>=1124):
- if choice ==1124:
- try:
- os.startfile('C:\restriced access')
- except Exception as e:
- print (str(e))
- while True:
- choice = int(input("Close? (y/n): "))
- if (choice<='y'):
- if choice =='y':
- os.system('TASKKILL /F /IM C:\restriced access')
Add Comment
Please, Sign In to add comment