Tar-like module?

Oleg Broytmann phd at phd.pp.ru
Fri Dec 21 05:54:50 EST 2001


On Thu, Dec 20, 2001 at 09:28:56PM -0700, Sean Reifschneider wrote:
> On Thu, Dec 20, 2001 at 09:24:07PM -0500, Scott Fenton wrote:
> >This may be an idiotic question, but is there a module
> >to read tar files in python? I googled around and 
> >couldn't find anything, and the Python Std Library docs
> >didn't have anything. Any help would be nice.
> 
> Actually, I think there are a few of them.  I can't remember what packages
> they're a part of though...  Distutils, maybe?

   I think Zope has such module.

> Anyway, pyntar at ftp.tummy.com:/pub/tummy/pyntar/ has the ability to read
> tar data including processing the headers.  It's not really a complete
> setup though.

   There is also standalone http://www.demonseed.net/~jp/code/tarfile.py.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list