New question #269664 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269664

This is the current code (I am using try/except to handle exceptions) I am 
using, I would like to know if there are any way to make it LOOP with a python 
list to shorten the code :

try:

   .
   type("first number in A")
   type("first number in B")
   .

except FindFailed:

   type(Key.F5)

For e.g.

A=[111,222,333]
B=[123.456.789]
try:

   .
   type("first number in A")
   type("first number in B")
   .

except FindFailed:

   type(Key.F5)

**Once the first loop is completed, how to choose the second number from list A 
and B etc. Please kindly correct me if I have misunderstanding in any ways. 
Thank you for your time. 


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to