Using Global Functions in Python script

Asked by Maciej Czapik

Hello,
I am performing sikuli tests from python script and need to store images in different directories. After reading several posts and documentation I figured I will use sikuli global functions for it. Problem is despite using line: "from sikuli import *" the function addImagePath is not recognized. At this point I'm trying to find some information but got stuck. Could it be the problem with system variables or I'm doing something wrong? Sorry but I'm just starting to work with sikuli and don't know how to proceed. Thank you for your time.

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wendell (wendellliu) said :
#1

Hi,from my experience
addImportPath(path)
It should work.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.