sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26022
Re: [Question #246338]: NameError when importing sikuli modules
Question #246338 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246338
RaiMan posted a new comment:
- a beginner should read the docs about importing Sikuli scripts before
starting to do more complex things (http://doc.sikuli.org/globals.html
#importing-other-sikuli-scripts-reuse-code-and-images)
- importing "running scripts" is not a recommended method (since the
code at indent level 0 is only interpreted once at import time). A
module intended for import should only contain classes and defs and
should itself not be runnable.
- But if you do that, reloading the IDE is not needed: we have
reload(module) for that
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.