sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15087
Re: [Question #216856]: help importing modules
Question #216856 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/216856
Status: Open => Answered
j proposed the following answer:
You have to change test.sikuli:
Either write "from functions import *" instead of "import functions" to import all elements of the functions module into your test.sikuli. However this could produce conflicts if you have defined any method or variable with the same name in functions.sikuli as in test.sikuli.
So it would probably be better just to write "functions.rtb()" instead only "rtb()".
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.