Import another .sikuli module file to this .sikuli file
Asked by
xiaoyan
like this.
Follow TestA.sikuli content:
a="abc"
def hey():
print(a)
Follow TestB.sikuli content:
import testA
testA.hey()
run the TestB script, the result is successfu.
But if you change the TestA's content, like this,
a="efg", then run the TestB, the result also is "abc".
Because the sikuli will invoke the jython.jar pythoninterpreter execfile, so the second time, it will not generate a new $py.class file.
Dear, how to resolve this issue?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- xiaoyan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.