← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #206597]: Problem with importing "external" modules

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry for this simple syntax error :-(

must be:

saved_sys_path = [e for e in sys.path] # save sys.path content

and

    sys.path = [e for e in saved_sys_path] # reset sys.path

I am out now for some hours (on vacation ;-)

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