← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207060]: How to pass command line argument to imported file

 

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

    Status: Answered => Open

Neo is still having a problem:
Yes. you are correct.

I like the second approach. I didn't understand why did you declare global variable as Settings.myLang ? 
Also, when I run the script it throws the following error. Looks like some import is missing.. ?

 exec("import " + Settings.myLang)
AttributeError: type object 'org.sikuli.script.Settings' has no attribute 'myLang'

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