Reading between the line


it said,"Traceback (most recent call last):
File "python", line 1, in
IOError: [Errno 2] No such file or directory: 'text.txt'"

I just don't get it
I dont know what is wrong with this
thanks a lot

Replace this line with your code.


I'm getting the same error also. Your code is fine.. there is some sort of backend error from CodeAcademy


same error for me. I will try the exercise back a little late and see if it works then


writing something in the text.txt tab and then deleting it helped with the problem


first you have to make file with text.txt and write something in it and then use my_file.readline() to read lines from text.txt


Same error. coreblaster56949's workaround did the trick.


Thanks! I was wondering if it was just me haha. This workaround works.


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