getDirname#

pyCGM2.Utils.files.getDirname(fullname: str)#

Extract the directory path from a full path.

Parameters:

fullname (str) – The full path including the filename.

Returns:

str – The directory path extracted from the full path.