In need of a virtual filesystem / archive

Paul Rubin http
Mon Feb 20 22:22:34 EST 2006


"Enigma Curry" <workbee at gmail.com> writes:
> Is there any archive format that can allow Python to modify a file in
> the archive *in place*? That is to say if my archive is 2GB large and I
> have a small text file in the archive I want to be able to modify that
> small text file (or delete it) without having to rewrite the entire
> archive to disk.
> 
> Does anything like this exist? 

Yes, what you want is called a database.  Try the bsddb module or
something with MySQL depending on your requirements.



More information about the Python-list mailing list