← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236124]: Import Lib/site-packages the same way as -i option

 

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

Mark requested more information:
I am trying to add a path to python's module search path.  Instead of
writing in every file:

myPath = "path/to/user/defined/modules"
if not myPath in sys.path: append(myPath)

I want to just add myPath to python's default module search path so it
will check the path by default.  I've tried changing the PYTHONPATH
environment variable and using site-packages but neither have worked.  I
am on Windows 7.

Any ideas?

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