Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #In articles.py (main Sikuli script):
- # import organizing code start
- import sys
- myLib = "/Projects/Sikuli/articles.sikuli/"
- if not myLib in sys.path:
- sys.path.append(myLib)
- # making unit reload under the IDE (workaround)
- if 'webmoves' in sys.modules:
- del sys.modules['webmoves']
- webmoves = None
- del webmoves
- # importing your unit
- from webmoves import *
- # import organizing code end
- #In webmoves.py (Python module):
- # import start
- import sys
- sys.path.append("/Program Files/Sikuli")
- from sikuli.Sikuli import *
- # import end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement