sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09918
Re: [Question #177227]: [Howto] import other Sikuli scripts
Question #177227 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177227
mallikarjun posted a new comment:
Hi RaiMan ,
Thanks for reply , i have pasted "from sikuli import*" in importing file.
test1:
from sikuli import*
def myluck():
popup("hi i m fine")
def ram():
popup("hi i m fine")
test2:
from test1 import*
myluck()
ram()
Error is coming when i am accessing 2 function.
[info] Sikuli vision engine loaded.
[info] VDictProxy loaded.
[error] Stopped
[error] An error occurs at line 1
[error] Error message: Traceback (most recent call last):
File "C:\DOCUME~1\user\LOCALS~1\Temp\sikuli-tmp3406488790147262729.py", line 1, in
from test1 import*
ImportError: No module named test1
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.