dcase_util.containers.TextContainer.save

TextContainer.save(filename=None, file_format=None)

Save file

Parameters
filenamestr, optional

File path, if None given, filename given to class constructor is used. Default value None

file_formatFileFormat, optional

Forced file format, use this when there is a miss-match between file extension and file format. Default value None

Returns
self
Raises
IOError:

File has unknown file format