Reading tar/gz-files

Thomas Weholt thomas at bibsyst.no
Thu Jan 6 13:23:38 EST 2000


hi,

Would it be possible to read out the contents of tar.gz/tgz files using
Python? Could I, using Linux, use catch the output of a os.exec('tar tvf
' + filename) for instance, in a list??

Tudelidu.

Thomas



More information about the Python-list mailing list