def get_method_info(
        self,
    ) -> MethodInfo:
        """
        Extremely important for making shell commands to run python code.

        Returns a tuple (function name, function file name, path to function directory)
        """
        assert self.python is not None
        func_file_path = os.path.abspath(inspect.getfile(self.python))

        func_dir_path = os.path.dirname(func_file_path).replace("\\", "/")
        func_name = self.python.__name__
        func_file_name = os.path.splitext(os.path.basename(func_file_path))[0]

        return (func_name, func_file_name, func_dir_path)

        Extremely important for making shell commands to run python code.

        Returns a tuple (function name, function file name, path to function directory)
        
context_menu/menus.py