sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41331
[Question #446189]: Dynamic variable name/function name
New question #446189 on Sikuli:
https://answers.launchpad.net/sikuli/+question/446189
Hi,
Can you please advise if it is possible to create function name with dynamic name?
for example, I would like to create a loop that clicks 1-9 on calculation, for each click I created a function and I would like to call them one by one using a loop.
#function
num = '1'
def press + num():
click("1485207960066.png")
#loop
while num < 10
press + num()
num ++
something like that...
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.