

def get_winpython_start_menu_folder(current=True):
    'Return WinPython Start menu shortcuts folder'
    if current:
        folder = get_special_folder_path('CSIDL_PROGRAMS')
    else:
        try:
            folder = get_special_folder_path('CSIDL_COMMON_PROGRAMS')
        except OSError:
            folder = get_special_folder_path('CSIDL_PROGRAMS')
    return osp.join(folder, 'WinPython')

dataset/ETHPy150Open winpython/winpython/winpython/utils.py get_winpython_start_menu_folder/original