← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #706170]: [2.0.5] after changing a method imported inside another method, IDE restart needed

 

Question #706170 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706170

    Status: Open => Answered

RaiMan proposed the following answer:
BTW:
from sikuli import *
import sys
... not needed in main script

--- possible solution:
- import everything in main
- use the deeper level via parameter

#main.sikuli
import sub1
import sub2
sub1.dotest1(sub2)

#sub1.sikuli
from sikuli import *
def dotest1(pack):
    pack.finalteste()

#sub2.sikuli
from sikuli import *
def finaltest():
    print("test x")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.