save_project#

Workspace.save_project(project, filename=None)[source]#

Saves given Project to a pnm file

This will include all of associated objects, including algorithms.

Parameters:
  • project (Project) – The project to save.

  • filename (str, optional) – If no filename is given, the given project name is used. See Notes for more information.

See also

save_workspace

Notes

The filename can be a string such as ‘saved_file.pnm’. The string can include absolute path such as ‘C:networkssaved_file.pnm’, or can be a relative path such as ‘....saved_file.pnm’, which will look 2 directories above the current working directory. Can also be a path object object such as that produced by pathlib or os.path in the Python standard library.