def fetch_scenario_cache():
    try:
        os.remove('scenario.cache')
    except __HOLE__:
        pass

    with open('scenario.cache', 'wb') as fo:
        response = requests.get(SCENARIO_CACHE_URL)
        if not response.ok:
            sys.exit()
        for block in response.iter_content():
            fo.write(block)
dataset/ETHPy150Open balanced/balanced-python/render_scenarios.py/fetch_scenario_cache