sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01844
Re: [Question #150145]: IndexError: index out of range: 0
Question #150145 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/150145
Status: Open => Answered
RaiMan proposed the following answer:
at least the import subprocess error has vanished.
the current error should vanish if you use the r"" raw string notation
(or the single quoting character ' ) if you do not want to double the
backslashes in the "" strings.
firefoxSearchPaths=[
r"C:\Users\misraels\AppData\Local\Mozilla Firefox\firefox.exe"
]
normally in "" strings you have to double backslashes. but if you don't
do it, it works as long as the combination \x does not mean anything,
but \n, \r˛ \b˛ \f and some more mean something, so they are converted
to the corresponding single (not readable) character.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.