[Tutor] How to read content in a tar file with tarfile module

Magnus Wirström asdlinux at yahoo.se
Tue Oct 10 20:15:22 CEST 2006


Hi everyone

I have written a app that makes a tar file and all works well... Now i 
want to expand that app so it can read read the tar and give me the 
contents of the tar file. How is the best way to do this ? I can't find 
a "listdir" like function in tarfile. Can anyone point me in the right 
direction?
Thanks
Magnus


More information about the Tutor mailing list