openPickleFile#

pyCGM2.Utils.files.openPickleFile(path: str, filename: str)#

Open a serialized (pickle) file and return its contents.

Parameters:
  • path (str) – The directory path where the file is located.

  • filename (str) – The filename with extension.

Returns:

object – The deserialized object from the pickle file.