← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #252211]: NameError when running from command line

 

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

Allen Liu posted a new comment:
och, one more correction on module name:

File ------------------------Import statement------------------Functions Name
|----common.sikuli (has all common functions) ------- from sikuli import * ------ login()
|----home.sikuli--------from sikuli import *;from common import * --------fun1()
|----main.sikuli (entry script) ------- import common, home; reload(common);reload(home); from sikuli import *;from home import * ------ login(); fun1()...

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