(self, name: str, path: str)
return key_shell_path
Creates a menu with the given name and path.

        Used in the compile method.
Creates a menu with the given name and path.
Creates a menu with the given name and path .
def create_menu(self, name: str, path: str) -> 'Path to shell key of new menu':
        '''
        Creates a menu with the given name and path.

        Used in the compile method.
        '''
        key_path = os.path.join(path, name)
        create_key(key_path)

        set_key_value(key_path, 'MUIVerb', name)
        set_key_value(key_path, 'subcommands', '')

        key_shell_path = os.path.join(key_path, 'shell')
        create_key(key_shell_path)

        return key_shell_path
def create_menu ( self , name : str , path : str ) -> 'Path to shell key of new menu' : key_path = os . path . join ( path , name ) create_key ( key_path ) set_key_value ( key_path , 'MUIVerb' , name ) set_key_value ( key_path , 'subcommands' , '' ) key_shell_path = os . path . join ( key_path , 'shell' ) create_key ( key_shell_path ) return key_shell_path