Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/l/blenderpython-HEAD/scripts/addons_extern/space_view3d_stored_views.py   blenderpython(Download)
            bpy.ops.stored_views.replace(filepath=self.filepath)
        else:
            bpy.ops.stored_views.append(filepath=self.filepath)
        # copy preset to presets folder
        filename = os.path.basename(self.filepath)