Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:0d9856e111922feb0835
Created Jun 16, 2014

What would you like to do?
#!/usr/bin/env python
from zipfile import *
with ZipFile("", "r") as file:
for x in file.infolist():
x.filename = x.filename.encode('ascii', 'ignore')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment