Question #194489 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/194489
RaiMan posted a new comment: ---1. If the main script and the imported scripts (all as .sikuli) are in the same folder and running the main script, the import should find the stuff to import. So if you have: # c:\NonReg\main.sikuli import sub and # c:\NonReg\sub.sikuli from sikuli import * running main in Sikuli IDE should give no error ---2. sys.path In sys.path you need only the folder that contains the .sikuli scripts and not the scripts itself. your case: myScriptPath=r"C:\NonReg" # raw string r"no double \ needed" if not myScriptPath in sys.path: sys.path.append(myScriptPath) -- 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

