load_project#
- Workspace.load_project(filename)[source]#
Loads a Project from the specified ‘pnm’ file
The loaded project is added to the Workspace. This will not delete any existing Projects in the Workspace and will rename any Projects being loaded if necessary.
- Parameters:
filename (str or Path) – The name of the file to open. See Notes for more information.
See also
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
oros.path
in the Python standard library.