Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import zipfile
- def zipfile_object(*args):
- return zipfile.ZipFile(open(args[0]))
- obj = zipfile_object("dune.epub")
- print obj.open("content.opf").read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement