

def download(url, filename):
    if (not os.path.exists('data')):
        os.makedirs('data')
    out_file = os.path.join('data', filename)
    if (not os.path.isfile(url)):
        urllib.urlretrieve(url, out_file)

dataset/ETHPy150Open HIPS/Kayak/examples/data.py download/VarMisuse@57/67 `out_file`->`url`