sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37282
Re: [Question #288674]: appending sys.path with a relative path
Question #288674 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/288674
Lejma posted a new comment:
thank you RaiMan, this helped a lot!
I had it a bit more complicated, i was calling a script from remote
workstation via PSexec, hence currentPath was something crazy, so i
combined getBundlePath() with os.path.dirname() to reach what i wanted,
i needed one level above, and two levels above, hence for two levels
above i used this:
os.path.dirname(os.path.dirname(getBundlePath()))
thank you again!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.