python内置zipfile

import zipfile, os zipFile = zipfile.ZipFile(os.path.join(os.getcwd(), 'txt.zip')) for file in zipFile.namelist(): zipFile.extract(file, r'd:/Work') zipFile.close()

 

 

 

 

参考:

1、http://blog.csdn.net/u013692888/article/details/75011528

2、http://python.jobbole.com/81519/

相关文章:

  • 2021-12-11
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-02-25
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-11-24
  • 2021-12-12
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案