> On 5/15/19 2:50 AM, Niels Thykier wrote: > >>> I suspect that something like: >>> >>> """ >>> with open(path) as fd: >>> for line in fd: >>> ... >>> """ >>> >>> Will be considerably faster if /var/.../info has a non-trivial size It is. Needs to run timeit a few times to have consistents results. Regards, Herbert