← Back to team overview

sikuli-driver team mailing list archive

[Question #148254]: Getting path of .sikuli script running

 

New question #148254 on Sikuli:
https://answers.launchpad.net/sikuli/+question/148254

Hello,


I would like to get the path of the current .sikuli script running.  I tried using sys.argv variable, but I'm guessing this doesn't work when using Sikuli.  I want the path in order to create dynamic path strings to add to sys.path for importing files.  The script I'm building will be downloaded and used by others so the location of the script will be different on each system.

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