Skip to content

Instantly share code, notes, and snippets.

@oculushut
Last active March 6, 2016 18:16
Show Gist options
  • Save oculushut/ce20fc30e05836ca7925 to your computer and use it in GitHub Desktop.
Save oculushut/ce20fc30e05836ca7925 to your computer and use it in GitHub Desktop.
Example unzipping
print ("unzipping...")
import tarfile
#import os
#os.chdir("..")
tfile = tarfile.open("enron_mail_20150507.tgz", "r:gz")
tfile.extractall(".")
print ("unzipped!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment