sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44654
Re: [Question #661046]: How to reuse the code in sikuli
Question #661046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661046
Status: Answered => Solved
Saket confirmed that the question is solved:
Yes I searched this & found on net : def func001(): # <---- modify
func001 ==> func001()
and this typo was done by my side : click("1511773811501.png") # <----
modify Click ==> click
Yes this worked perfectly
"for no in range(10):
func001() "
Thanks for your help Masuo, I could understand new concept of functions
with this.
Now i will implement this in my actual script where i wanted to reuse /
run my particular line of code n times, if i come across any issue. i
will mention you in that, if possible help me, Thanks in Advance !!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.