python内置zipfile import zipfile, oszipFile = 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/