def human_readable(n):
    """
    Print sizes in bytes in more human readable form.
    https://stackoverflow.com/a/1094933/199166
    """
    for unit in ['B','K','M','G','T','P','E','Z']:
        if abs(n) < 1024.0:
            return f"{n:6.1f}{unit}"
        n /= 1024.0
    return f"{n:6.1f}Y"