sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23967
Re: [Question #243363]: import scripts does not work always. I have tried so many times but succeeded only twice or thrice.
Question #243363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243363
Status: Open => Answered
Test proposed the following answer:
The line:
from sikuli import *
Should appear in the file you are IMPORTING not the file you are
importing INTO.
Example, I want to import a script named test into a script named
example.
In example.sikuli:
import test
In test.sikuli:
from sikuli import *
<code goes here>
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.