[Tutor] reading nested folders in gzip files

Dinesh B Vadhia dineshbvadhia at hotmail.com
Mon May 18 18:34:00 CEST 2009


The structure of the gzip files are:

gzip archive
    folderA
        folderB
            list of folderC's
                each folderC contains the target files

Within the archive, I want to open the gzip archive, open folderA, openFolderB , get the list of target files in folderC, and extract each file in folderC individually.

I've used gzip before but cannot see how to move from folderA to folder B within the archive.  Any ideas?

Dinesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090518/3043f5ce/attachment.htm>


More information about the Tutor mailing list