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.
>= 1.9.2
R. Bernstein, Mark Moseley