dcase_util.files.File.save

File.save(data, filename=None)[source]

Save file

Parameters
data

Data to be saved

filenamestr, optional

File path Default value filename given to class constructor

Returns
self
Raises
ImportError:

Error if file format specific module cannot be imported

IOError:

File has unknown file format