I think my code is correct, but I'm recieving an error message anyway
Traceback (most recent call last):
File "python", line 13, in
IOError: [Errno 2] No such file or directory: 'text.txt'
Oops, try again. Sorry, but I'm gonna need you to refresh the page! Don't worry your code is saved.
I followed the instructions and even went ahead with the lesson having no problem at all opening the .txt archive, I don't know why this part of the lesson is having a problem.
my_file = open("text.txt", "r") print my_file.readline() print my_file.readline() print my_file.readline() my_file.close()