I think my code is correct, and I can't figure out what's wrong. The error message I get is:
IOError: [Errno 2] No such file or directory: 'output.txt.'
Here is the code:
my_file = open("output.txt.", "r") print my_file.read() my_file.close()
I got this error for the previous exercise, and writing something in output.txt then deleting it seemed to solve the problem, but it doesn't help here. I tried refreshing and using a different browser but nothing helps.