← Back to team overview

sikuli-driver team mailing list archive

[Question #695621]: ioerror for just open txt file on windows server 2016

 

New question #695621 on Sikuli:
https://answers.launchpad.net/sikuli/+question/695621

f = open("C://test","r")

for line in f.readlines(0):

    (a, b) = line.strip().split()

    test.append([a.strip(), b.strip()])
but the script stopped and give this, anyone know why is this?
 IOError ( (2, 'No such file or directory', 'C://test') )

[error] --- Traceback --- error source first

line: module ( function ) statement 

4: main (  <module> )     f = open("C://test","r")

[error] --- Traceback --- end -------------

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.