

def save_license(license_code):
    ' Grab license, save to LICENSE/LICENSE.txt file '
    desc = _get_license_description(license_code)
    fname = 'LICENSE'
    if (sys.platform == 'win32'):
        fname += '.txt'
    with open(os.path.join(os.getcwd(), fname), 'w') as afile:
        afile.write(desc)

dataset/ETHPy150Open architv/harvey/harvey/harvey.py save_license/original