Martin Marcher wrote: >> i need to read line 4 from a header file > > http://docs.python.org/lib/module-linecache.html I guess you missed the "using linecache will crash my computer due to memory loading, because i am working on 2000 files each is 8mb" part. </F>