def humanbytes(s):
 return next((u'{0}{1}'.format(hfloat(((s / div) if div else s)), unit) for (div, unit) in UNITS if (s >= div)))

def humanbytes ( s ) : return next ( ( u'{0}{1}' . format ( hfloat ( ( ( s / div ) if div else s ) ) , unit ) for ( div , unit ) in UNITS if ( s >= div ) ) )
convert bytes to human-readable form .