sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51617
Re: [Question #680702]: Import Question
Question #680702 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680702
RaiMan proposed the following answer:
--- 1.1.4
the jruby and jython jars are moved to SikuliX extension folder.
-- import
with only
import testpad2
only
testpad2.launchNox()
works
when using
from testpad2 import *
all global names (defined at the indent level null) are now known in the
current context
so
launchNox()
works
... and
testpad2.launchNox()
of course too
with import * one must be careful and have a naming convention, since
imported names overwrite existing names withou notice
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.