stack-like file object

Rodrigo Benenson rodrigob at
Mon Jan 19 15:41:58 CET 2004

I need to implement a stack on a file.
The idea is to have a big list, and put part of his head on the disk. The
model of access to the file is like a stack (read in order only the tail,
write only at the tail).
How could I create this, knowing that I need to pickle arbritary objects ?

(to my eyes the problem is: how to pickle various objects in file and access
them as separate)


More information about the Python-list mailing list