def remove_winpython_start_menu_folder(current=True):
    """Remove WinPython Start menu folder -- remove it if it already exists"""
    path = get_winpython_start_menu_folder(current=current)
    if Path(path).is_dir():
        try:
            shutil.rmtree(path, onexc=onerror)
        except WindowsError:
            print(f"Directory {path} could not be removed", file=sys.stderr)
Remove WinPython Start menu folder -- remove it if it already exists
winpython/associate.py