3
z1 = zipfile.ZipFile('path\Test.zip')
z1.extractall('path\Test')
z1.close()

When I use zipfile of Python to unzip a zip file, the date modified of all files will become the unzip time now.

How to keep the date modified not change when unzip?

Other language like C# has API to keep not change the date modified

Dharman
  • 30,962
  • 25
  • 85
  • 135
Sam
  • 409
  • 1
  • 7
  • 16

0 Answers0