sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37438
Re: [Question #289706]: For and If Statement
Question #289706 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/289706
Status: Open => Needs information
RaiMan requested more information:
--- if net_result == result:
- result in that moment contains the current string from results according to the current for loop state
- net_result is a list
... hence this is always false
what is your intention here?
--- for Analyzer,result,net_count in zip(Analyzers,results,net_counts):
... should work
https://docs.python.org/2/library/functions.html#zip
... but be aware:
changes of net_count inside the loop does not influence the content of net_counts!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.