Question #696579 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696579

    Status: Open => Answered

RaiMan proposed the following answer:
yes, possible:

- make a script, that contains your sleep def: (myoverrides.py)
def sleep(time):
     print "mysleep variant"

- in the script to use your sleep:
if not somepath in sys.path:
    sys.path.insert(0, somepath)
from myoverrides import *
sleep(10)

... should print 
mysleep variant

.. where homepath is the folder, that contains the myoverrides.py

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

_______________________________________________
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