sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24537
Re: [Question #244893]: Read from file
Question #244893 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244893
Status: Open => Answered
RaiMan proposed the following answer:
f = open("C:\\Users\\caan\\Documents\\SikuliTests\\SikuliTest.sikuli\\input.csv") # r = read is default
for line in f.readlines():
print line.strip()
BTW. for this thera are tons of questions and examples around her and in
the net.
*** Im new to Sikuli
this is of course one aspect, but the challenge for more complex things (like reading from a file and evaluating the lines into processable items) you have to learn some Python
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.