z = zipfile.ZipFile(sourceFile, 'r')
info = z.getinfo('fileToTest.ext')
print(('create_system', info.create_system))
print(('external_attr', info.external_attr))
print(('internal_attr', info.internal_attr))
Preserve file attributes in ZipFile