1 2 3 4 5 6 7 8 9 10
--- tags: - python --- An easy and efficient way to read a file line-by-line is by simple using the file object as the iterable. ``` for line in file: print(line) ```