4. Reading


#1

WHAAAAAAT???
Oops, try again. Did you create a variable called my_file?

File "python", line 1, in
IOError: [Errno 2] No such file or directory: 'output.txt'

my_file = open("output.txt", "r")
print my_file.read()
my_file.close()


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.