MaFile

class cgp_houdini_utils.files.HipFile(path)

Bases: cgp_generic_utils.files.File

file object that manipulate a .hip file on the file system

classmethod create(path, content=None, **__)

create a hip file

Parameters:
  • path (str) – path of the file to create
  • content (any) – content to set into the created file
Returns:

the created file

Return type:

cgp_houdini_utils.files.HipFile