python recall a line from a text file

# Read text file line by line
filepath = 'text_file.txt'
  with open(filepath) as fp:
   line = fp.readline()
   cnt = 1
   while line:
       print("Line {}: {}".format(cnt, line.strip()))
       line = fp.readline()
       cnt += 1

Here is what the above code is Doing:
1. We open the file in read mode.
2. We read the first line of the file and store it in a variable.
3. We print the line.
4. We read the second line of the file and store it in the same variable.
5. We print the line.
6. We repeat the process until the last line of the file is read.
7. We close the file.