sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27284
Re: [Question #252211]: NameError when running from command line
Question #252211 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252211
RaiMan proposed the following answer:
this works for me:
# nestedmain.sikuli
from nestedmodule import *
print "running main"
common1()
moduleF1()
# nestedmodule.sikuli
from sikuli import *
from nestedcommon import *
def moduleF1():
print "from moduleF1"
common1()
# nestedcommon.sikuli
from sikuli import *
def common1():
print "from common1"
using
/Users/rhocke/SikuliX/ZRun101/runIDE -r nestedmain.sikuli
this output
running main
from common1
from moduleF1
from common1
I do not think there is a difference towards Windows.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.