Python’s readlines options
A very interesting post on the different ways readline can be used in Python: > .readlines() : reads the whole file at once and creates a list of lines > .readline() : reads one character at the time > .xreadlines() : reads one line at a time (for large files). …