Question #171616 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/171616
Status: Open => Answered
RaiMan proposed the following answer:
Sorry, my fault: raw strings cannot contain a single backslash at the
end of the string.
So I finally recommend the following for your path handling problem,
which avoids the backslash problem.
import os
imgpath = r"C:\images"
menuicon = os.path.join(imgpath, images[0])
or in a loop
for img in images:
print os.path.join(imgpath, img)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp