sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24954
[Question #245965]: cannot import another module
New question #245965 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245965
Very strange as I have had no problems before. I Have a test suite file from which I execute different tests from different modules.
The test suit code is:
Import module
module.test()
And the module:
from sikuli import *
def test():
print ("this is the test")
When I run the testsuite for some reason it stops a the first line with the error text:
[error] SyntaxError ( !!WHILE IMPORTING!! Non-ASCII character in file 'C:\Users\****\Documents\SikuliTests\TestTrialSikuli\Medborgare.sikuli\Medborgare.py', but no encoding declared; see http://www.python.org/peps/pep-0263.html for details )
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.