Question #252926 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252926

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Line 1:
This is a definition of "getInstructions" function that gets "inp" as a 
parameter. I assume that "inp" is a file path.

Line 2:
Defines a Python(or this case Jython) dictionary and stores in in variable 
named "store"

Line 3:
Try statement is an exception handler for a group of statements. In this case, 
if an error will occur in any of the lines between "try" and except, the code 
execution will skip to "except" part instead of just failing.

Line 4:
Looks like opening a file which path is defined by "inp". File handler is then 
saved in "configInput".

Cheers,
Eugene

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to