def getSublimeMenuPath(sub_folder=False, user_path=False):
    menu_path = getPluginPath()
    if(user_path):
        menu_path = getDeviotUserPath()

    if(sub_folder):
        menu_path = os.path.join(menu_path, sub_folder)

        try:
            os.makedirs(menu_path)
        except __HOLE__ as exc:
            if exc.errno != errno.EEXIST:
                raise exc
            pass

    menu_path = os.path.join(menu_path, 'Main.sublime-menu')

    return menu_path
dataset/ETHPy150Open gepd/Deviot/libs/Paths.py/getSublimeMenuPath