* Questions: ** How does the program reads the file? readline ** How does it loops over the lines? readline will return an empty string when no more data is available *** https://stackoverflow.com/questions/28936140/use-readline-to-read-txt-file-python3 ** Why doesnt he uses a for loop? (instead of return) -later Good to know: "The second method still reads the file line by line and does not load the whole file into memory, right? – nishant Nov 14 '19 at 7:24" "@nishant correct – Ilan Kleiman Dec 15 '19 at 1:42" ** What is "with" in python? -later ** Why should I use builting python utils instead of *nix utils? -later * Notes: strip: for text formatting * Log: Takes a long time to watch the video.