sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03157
Re: [Question #160813]: Choice command: If find() | elif | Help
Question #160813 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/160813
Status: Open => Answered
RaiMan proposed the following answer:
this is correct:
if condition:
pass
elif condition:
pass
elif condition:
pass
else:
pass
and all this might be nested (mind the correct indentation!)
comment: pass is a Python no-op that keeps the needed indentation to be
syntactically correct.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.