← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #232998]: [HowTo] setup import/module structures to be used in Eclipse/Jython and Sikuli IDE/Script as well

 

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

Parn Yin posted a new comment:
Thank you, RaiMan!
Yeah, every folder in my tree has an empty __init__.py already.

To avoid misunderstanding, please kindly confirm/answer:

(a) If I want to use Sikuli IDE to open subsub2.py file, I need to
change it to:

main.py or main.sikuli
subsfolder
    __init__.py
    sub1.py
    sub2.py
    subsubsfolder
        __init__.py
        subsub1.py
        subsub2.sikuli
            subsub2.py

(b) If I want to import subsub2.py into subsub1.py, I need to add the
path of "subsubsfolder" to the sys.path.

(c) In the plan of Sikuli version 1.0.1, when will it be released? For
these things above, what will be enhanced?

Thank you.

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