When use type(Key.DOWN) in python script, get NameError: Key
Asked by
Libo Cao
I was trying to use the method type(Key.DOWN) on windows XP platform -- sikuli package 0.10.1
In Sikuli IDE it is fine, but when use this in a python script (with import sikuli stuff), this method gives NameError: Key
Even if I put Key.py file under the import path and put from Key import * inside the sikuli.py file, it is not doing anything.
Why is that?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Libo Cao
- Solved:
- Last query:
- Last reply:
To post a message you must log in.