← Back to team overview

sikuli-driver team mailing list archive

[Question #144742]: Import for existing scripts doesn't work until re-opening Sikuli

 

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

Steps to reproduce:
1. Create a library file containing scripts like:
    def launchApp (self):
     openApp ("c:\\libs\\launch_app_BE.bat")
     openApp ("c:\\libs\\launch_app_FE.bat")

2. Call this script from another file:
    launchApp (None)

Result: "NameError: name 'launchApp' is not defined"

Now close Sikuli and open it again and re-execute the steps described above -> Result:

Environment:
Sikuli X-1.0rc1
Windows XP SP3


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