Question #238004 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238004
Status: Open => Answered
RaiMan proposed the following answer:
You did not answer my first question/assumptions from comment #1, but
anyway:
a problem might be, that line and hence var[n] still contains a newline "\n" at
the end of the string.
The usual approach to get rid of whitespace is:
var.append(line.strip())
--
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