Skip to content

Instantly share code, notes, and snippets.

@shufflebits
shufflebits / download.py
Last active January 14, 2019 12:22 — forked from mjohnsullivan/download.py
Python HTTP download with resume and optional MD5 hash checking
#!/usr/bin/env python
import logging
logger = logging.getLogger(__name__)
import argparse
from pprint import pprint,pformat
import os.path
import urllib2
import shutil