Advertisement
Atheuz

Untitled

Apr 27th, 2011
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import zipfile
  2.  
  3. def zipfile_object(*args):
  4.     return zipfile.ZipFile(open(args[0]))
  5.  
  6. obj = zipfile_object("dune.epub")
  7. print obj.open("content.opf").read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement