Lesson 5 Someone Pl help to get through this lesson


#1

Here is my code.

my_file = open("text.txt","r")
print my_file.readline()
print my_file.readline()
print my_file.readline()
my_file.close()


#2

@csscoder68873,
Have a read through
https://discuss.codecademy.com/t/my-program-cannot-find-the-text-txt-file/32576/2?u=leonhard.wettengmx.n
and dtermine if the text.txt file exists.....


#3

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