Add a file to a compressed tarfile

Dennis Hotson djdennie69 at hotmail.com
Fri Nov 5 08:13:16 EST 2004


Hi,

I'm trying to write a function that adds a file-like-object to a
compressed tarfile...  eg ".tar.gz" or ".tar.bz2"

I've had a look at the tarfile module but the append mode doesn't support
compressed tarfiles... :(

Any thoughts on what I can do to get around this?

Cheers!



More information about the Python-list mailing list