LineCache is a module for reading and caching lines. This may be useful for example in a debugger where the same lines are shown many times.