Skip to content

Instantly share code, notes, and snippets.

@lokoum
lokoum / pyget.py
Created June 27, 2012 04:32 — forked from mouuff/pyget.py
a python web downloader with statut
from urllib import urlretrieve
from sys import stdout, argv
from time import time
from os import getcwd, path
import hashlib
class download:
def __init__(self, link, file_name='', checksum='md5'):
self.checksum = checksum.lower()