sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06703
Re: [Question #178018]: Moving a image from a .sikuli to another
Question #178018 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/178018
Status: Open => Answered
RaiMan proposed the following answer:
Since you imported projectB.sikuli, you know, where it is, otherwise you
could not have it imported ;-)
If it is in a default location that is contained in sys.path, and you
imported it, then there is an additional entry for projectB in sys.path.
Just search this entry and you have your path:
for e in sys.path:
if "projectB" in e: break
print e # should be your needed path
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.