← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162596]: How to Change the popup title from sikuli to Something?

 

Question #162596 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/162596

    Status: Answered => Open

Joe Harris is still having a problem:
Hahahha, I like the thought (-;

yay! I passed :D

Tried both of them, they're not working

while True:
	try:
    	sec = int(input("How many seconds you want me to wait?\nType a valid number only!"))
    	break
except:
    popup("Please enter integers only") # after user clicks ok, will continue looping
print "waiting for %d seconds"%(sec)

This is giving me some Indent error, though i have indented.

Second one, 
abc = "correct password"
password = input("Please enter your password")
if password == abc:
    popup("correct password")
elif popup("wrong pass")
else:
    exit() # would end the script here
always gives me "[info] Exited with code 0 " 
it always end, regardless of correct or wrong password
Thanks for the feedback :)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.