PklFile¶
-
class
cgp_generic_utils.files.PklFile(path)¶ Bases:
cgp_generic_utils.files.Filefile object that manipulate a
.pklfile on the file system-
classmethod
create(path, content=None, **__)¶ create a pkl file
Parameters: - path (str) – path of the pkl file
- content (any) – content of the pkl file
Returns: the created pkl file
Return type:
-
read()¶ read the pkl file
Returns: the content of the pkl file Return type: any
-
classmethod