Question #219559 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/219559
Status: Open => Answered
RaiMan proposed the following answer:
put your stuff in a file and read it:
inp = open("somefile.txt")
lines = imp.readlines()
# now lines contains all lines as a list
inp.close()
for line in lines:
text = line.strip() # get rid of new line
print text
# or do anything with text, that you want
or access each line individually:
text = lines[0].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