Skip to content

Commit

Permalink
Merge pull request udacity#123 from princecsnv/PATCH_121
Browse files Browse the repository at this point in the history
Enron corpus link changed
  • Loading branch information
ShengKungYi authored Aug 24, 2017
2 parents 8b79cb9 + 8f7c106 commit a1b999b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
print "Enron dataset should be last item on the list, along with its current size"
print "download will complete at about 423 MB"
import urllib
url = "https://www.cs.cmu.edu/~./enron/enron_mail_20150507.tgz"
urllib.urlretrieve(url, filename="../enron_mail_20150507.tgz")
url = "https://www.cs.cmu.edu/~./enron/enron_mail_20150507.tar.gz"
urllib.urlretrieve(url, filename="../enron_mail_20150507.tar.gz")
print "download complete!"


Expand All @@ -41,7 +41,7 @@
import tarfile
import os
os.chdir("..")
tfile = tarfile.open("enron_mail_20150507.tgz", "r:gz")
tfile = tarfile.open("enron_mail_20150507.tar.gz", "r:gz")
tfile.extractall(".")

print "you're ready to go!"

0 comments on commit a1b999b

Please sign in to comment.