sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48888
[Question #674889]: Jython: ImportError (No module name Test)
New question #674889 on Sikuli:
https://answers.launchpad.net/sikuli/+question/674889
When importing a class Test.py from Sikuli i'm getting the following error:
[error] script [ Sikuli1 ] stopped with error in line 5
[error] ImportError ( No module named Test )
-----------------------------------------------------------------------------
import sys
from os.path import dirname
sys.path.append(dirname(dirname(sys.argv[0])))
from Test import *
with Test() as testing:
wait (6)
print"Sikuli1"
-----------------------------------------------------------------------------
This is the Class file:
from sikuli import *
import sys
from os.path import isdir, dirname
class Test:
def __enter__(self):
def captura(self):
print "Test"
thanks.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.