def to_unix_epoch_time_secs(dt):

    if type(dt) == Date:
        return (dt - UNIX_EPOCH.date()).total_seconds()
    return (dt - UNIX_EPOCH).total_seconds()
Pretty print a file size.
dataset/ETHPy150Open Sage-Bionetworks/synapsePythonClient/synapseclient/utils.py/to_unix_epoch_time_secs--crossover with--dataset/ETHPy150Open rossant/h5view/h5view.py/format_size