def convertbytes(fsize, units=[' bytes', ' KB', ' MB', ' GB', ' TB', ' PB', ' EB']):
    return ('{:.2f}{}'.format(float(fsize), units[0]) if (fsize < 1024) else convertbytes((fsize / 1024), units[1:]))
def convertbytes(fsize, units=[' bytes', ' KB', ' MB', ' GB', ' TB', ' PB', ' EB']):
    return ('{:.2f}{}'.format(float(fsize), units[0]) if (fsize < 1024) else convertbytes((fsize / 1024), units[1:]))