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

Magnus Wirström asdlinux at yahoo.se
Sat Oct 14 08:59:10 CEST 2006


Thank you for all the answers. Sorry for not replying but i have been 
very busy this week I will try all the suggested ways.
//Magnus

Magnus Wirström skrev:
> 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
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
>   


More information about the Tutor mailing list