sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10665
Re: [Question #197440]: error occurs when importing the files in the same directory
Question #197440 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/197440
Status: Needs information => Open
omsakthi gave more information on the question:
sorry i mentioned the wrong directory name in source code of
main .sikuli in the above
but i am using the coorect directory name in my code
import os
myScriptPath = "D:\\Test\\Function"
# if not myScriptPath in sys.path: sys.path.append(myScriptPath)
import Function
find("1337158339156.png")
Function.test(str)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.