Why doesn't this work?
my_file = open("output.txt", "r") print my_file.read() my_file.close()
I get the error:
Traceback (most recent call last):
File "python", line 1, in
IOError: [Errno 2] No such file or directory: 'output.txt'
I also tried with r+, any help would great!