print "\nLooping through the file, line by line." text_file = open("read_it.txt", "r") for line in text_file: print line text_file.close()