Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time, sys
- def sleep_print(msg, _time):
- print msg
- time.sleep(_time)
- def dothis(x):
- print "Doing this (%s)" % x
- yourName = raw_input("Please enter your username: ")
- if yourName.lower() == "admin":
- sleep_print("Admin Login Successfull",2)
- while 1:
- menu = ["Disconnect PC's from the internet (LAN)","Open CD Tray (LOCAL)","Go into other people's C:\\","Testing.....","Testing....."]
- for item in menu:
- print "%d) %s" % (menu.index(item), item)
- choice = int(raw_input("Which action would you like to perform? "))
- if choice == 1:
- print "comming soon!"
- elif choice == 2:
- print "coming sooner!"
- else:
- print "Not avaliable ;("
- else:
- sys.exit("Incorrect username!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement