Maybe I read the doc file wrong.... So it should be.....? project\main.sikuli project\module1.sikuli project\module1.sikuli or... project\main.sikuli project\modules\module1.sikuli project\modules\module2.sikuli
But I think you are saying it is NOT this? project\main.sikuli project\main.sikuli\module1.sikuli project\main.sikuli\module2.sikuli Also NOT this....? project\main.sikuli\main.py project\main.sikuli\module1.py project\main.sikuli\module1.py >From http://sikulix-2014.readthedocs.org/en/latest/globals.html?highlight=def Another example: Importing from the same directory This approach allows to develop a modularized script app that is contained in one directory. This directory can be moved around with no changes and even distributed as a zipped file: # works on all platforms import os # get the directory containing your running .sikuli myPath = os.path.dirname(getBundlePath()) if not myPath in sys.path: sys.path.append(myPath) # now you can import every .sikuli in the same directory import myLib New in version X1.0-rc3. Since scripts in same directory are found automatically: # nothing else needed # now you can import every .sikuli in the same directory import myLib -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/891993 Title: X-1.0rc3: Windows: Using folder some-name.sikuli: Save As, saves recursively --- workaround Status in Sikuli: In Progress Bug description: **** Workaround: Folders where you want to save .sikuli files should not have an extension .sikuli ----------------------------------------------------------------------------- When trying to save a script using save as in another dir whose extension is .sikuli, the script is saved, but cannot be opened anymore. When manually looking in the dir, the script was saved, but the myscript.sikuli folder was recursively created. The tree cannot be deleted anymore with normal means, since the resulting filenames are too long. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/891993/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

