dcase_util.containers.ListContainer.save

ListContainer.save(filename=None, file_format=None)[source]

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