Version 9.5.23 (released on 2020-04-16)

#!/usr/bin/env python # this turns enron email archive into tuples (date, from, to) import sys. import zipfile . import tempfile. import email. import time. import datetime. import os. import urllib # stdin is list of URLs to data files. for u in sys.stdin: u = u.strip() if not u: continue. tmpf = tempfile.mkstemp() urllib.urlretrieve(u, tmpf[1 ... ................
................