Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python:unzip files

Python:unzip files

import zipfile
doczip = zipfile.ZipFile('c:/dcc.zip')
for fileName in doczip.fileNamelist():
    print '%s: %r' % (fileName, doczip.read(fileName))

Users who found this page were searching for:

  • python change dict value
  • python counting occurences of a string
  • python calcaulte md5
  • sys.argv string splits with ampersand events
  • how to compare strings in python
  • python smptlib multiple receiver
  • Struct and DatagramPacket

No comments yet.

Leave a Comment