dcase_util.utils.Path.size_string

Path.size_string(path=None, show_bytes=False)[source]

Total data size of all files under given path returned in human readable form.

Parameters
pathstr

Path, if none given one given to class constructor is used. Default value None

show_bytesbool

Show exact byte count Default value False

Returns
str