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
  • 26,923
  • 21
  • 73
  • 125
Sam
  • 391
  • 1
  • 6
  • 16

0 Answers0