← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #701072]: How to create a loop with certain amount of loops?

 

Question #701072 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701072

    Status: Open => Answered

RaiMan proposed the following answer:
Python knowledge - you have to learn some basics, if you want to go into
more complex scenarios.

loop: for i in range(howMany):

Be sure you know about Python's indentation rules.

--- about your script of 1700 lines:
There is a max file size of a script in terms of bytes, that might be reached in your case.
solution: split your script into parts and use the import or runScript feature.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.