← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #160003]: Global variables and functions argument in unittest

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, that's an easy one 
(... sorry for pointing it out: and documented here: http://sikuli.org/docx/globals.html#importing-other-sikuli-scripts-reuse-code-and-images on the first page under Prerequisites ;-) (worth to read through)


modules to be imported containing Sikuli features, need this generic import in the beginning (at least before the first Sikuli feature is used)
from sikuli.Sikuli import *

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