sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37062
Re: [Question #286612]: run .py file in sikuli
Question #286612 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/286612
Status: Open => Answered
RaiMan proposed the following answer:
This is the standard import concept with P(J)ython:
# have a myModule.py on sys.path
import myModule
returnValue = myModule.aFunction(parm1, parm2)
# myModule.py contains
def aFunction(p1, p2):
# do something
return rValue
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.