← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #198046]: Global command line

 

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

RaiMan proposed the following answer:
makes it clearer ;-)

-- Your main script (Login.sikuli) is located in 
D:\Sikuli\Script\

this is not, as you mentioned above. You are telling, that the working
root is GAAutomation-Sikuli.

Below this you have a folder Scripts (not Script ??).

If this all is true though, then you need in Login.sikuli (assuming all
is on D: from the root):

dir = r"d:\GAAutomation-Sikuli\Scripts\Global"
if not dir in sys.path: sys.path.append(dir)
import GALogin

assuming, that GALogin.sikuli is in the folder
d:\GAAutomation-Sikuli\Scripts\Global

This is how it is mentioned in the docs.

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