(self)
Print a table of contents for the zip file.
Print a table of contents for the zip file.
Print a table of contents for the zip file .
def printdir(self):
        """Print a table of contents for the zip file."""
        print "%-46s %19s %12s" % ("File Name", "Modified    ", "Size")
        for zinfo in self.filelist:
            date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6]
            print "%-46s %s %12d" % (zinfo.filename, date, zinfo.file_size)
def printdir ( self ) : print "%-46s %19s %12s" % ( "File Name" , "Modified    " , "Size" ) for zinfo in self . filelist : date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo . date_time [ : 6 ] print "%-46s %s %12d" % ( zinfo . filename , date , zinfo . file_size )