Add "import * from sikuli" to the beginning of the script

Asked by Kinga Wierchomska on 2020-08-31

Can I add this one line "import * from sikuli" to the beginning of the script when code is being compiled, so I do not have to write it every time in the script?

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-08-31
Last reply:
2020-08-31
RaiMan (raimund-hocke) said : #1

it must be:

from sikuli import *

... and is only needed in scripts that are imported by other scripts and use SikuliX features

Can you help with this problem?

Provide an answer of your own, or ask Kinga Wierchomska for more information if necessary.

To post a message you must log in.