stack-like file object

Rodrigo Benenson rodrigob at elo.utfsm.cl
Mon Jan 19 15:41:58 CET 2004


Hi,
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)

RodrigoB.






More information about the Python-list mailing list