5. I cannot find my mistake


#1

hi for everyone is there smeone who can help me???
i cannot find my mistake
my_file = open("text.txt","r")
print my_file.readline()
print my_file.readline()
print my_file.readline()
my_file.close()


5. Reading Between the Lines - It Worked, but now I get an error
#2

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


#3

@chippro79398,
Have a look at
https://discuss.codecademy.com/t/5-reading-between-the-lines-it-worked-but-now-i-get-an-error/34234/2?u=leonhard.wettengmx.n


#4

thanks a loot!! ....:slight_smile:


#5