2014年2月11日

python中的zipfile

摘要: zipfile — Work with ZIP archivesZipFile.namelist() Return a list of archive members by name.返回压缩成员名称列表with ZipFile('spam.zip', 'r') as myzip: for f in myzip.namelist(): print(f)ZipFile.getinfo(name) Return a ZipInfo object with information about the archive member name. Calling getin 阅读全文

posted @ 2014-02-11 23:19 FlowingCloud 阅读(307) 评论(0) 推荐(0) 编辑

导航