sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06226
Re: [Question #175304]: Check a variable in an if statement
Question #175304 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/175304
Status: Open => Answered
Parva Thakkar proposed the following answer:
Try this -
variable=input("yay type something")
if variable == "string":
popup ("it worked")
else:
popup ("it didn't work")
I added two equal sign in If condition
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.