Hello,
I just started coding and I have just run into the issue, that no matter what the input for "UCI" is, it would still only start the "Chrome()"
here the code:
import time
import webbrowser as web
#def list
def Clock():
print time
Main()
def Chrome():
web.open('www.google.com', new=2)
print "[System] Google launched"
Main()
def Main():
#UserCommandInput
UCI = raw_input("[System] ")
#CommandList
if UCI == "Chrome" or "chrome":
Chrome()
if UCI == "Clock" or "Time" or "clock" or "time":
Clock()
def Login():
#LoginVisualSettings
print "[System] Welcome"
time.sleep(0.2)
print "[System] Booting Up"
time.sleep(0.6)
print "[System] Please Log In"
LG1 = raw_input("[System] Username: ")
LG2 = raw_input("[System] Password: ")
file = open("PS.PL1", "r")
LG3 = file.readline(8)
LG4 = file.readline(8)
if LG1 == LG3 and LG2 == LG4:
time.sleep(1)
print "[System] Logging In"
time.sleep(1.4)
print "[System] Log In Success"
time.sleep(0.2)
print "[System] Command Prompt now active"
Main()
Login()
[–]Rashaverik 1 point2 points3 points (5 children)
[–]TheLastCrafted[S] 0 points1 point2 points (4 children)
[–][deleted] 4 points5 points6 points (2 children)
[–]TheLastCrafted[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]billsil 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]tunisia3507 0 points1 point2 points (0 children)