Question #692801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692801

    Status: Open => Answered

RaiMan proposed the following answer:
#!/usr/bin/python
# -*- coding: utf-8 -*-

- not needed in main script

If imported scripts contain non-ascii characters, then only 
# -*- coding: utf-8 -*-

is needed as first line

BTW:
#!/usr/bin/python

is generally wrong with SikuliX, since SikuliX scripts cannot be run
with (C-)Python (we use Jython)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to