Re: deciding what is a dir (folder) in a zip file

2006-11-16 Thread Gabriel Genellina
At Thursday 16/11/2006 10:48, Jim wrote: I'm trying to read .zip files and drop from the listing those files that are directories. I'm using the zipfile module. Googling has increased my suspicion that it is not just a matter of seeing if the file name ends in '/' and that the relevant externa

deciding what is a dir (folder) in a zip file

2006-11-16 Thread Jim
Hello, I'm trying to read .zip files and drop from the listing those files that are directories. I'm using the zipfile module. Does anyone know how I can I tell which files in the .zip are directories? I have looked around the net for the information but I cannot make it out: the pkzip specific