parameters: (size)
return_statement: return f'{size:0.1f}PB'
docstring: Get the human readable filesize from bytes.
docstring_summary: Get the human readable filesize from bytes.
docstring_tokens: Get the human readable filesize from bytes .
function: def prettyify(size):
      '''Get the human readable filesize from bytes.'''
  
      suffixes = ['KB', 'MB', 'GB', 'TB']
      if size < 1024:
          return f'{size}B'
      size /= 1024
      for suffix in suffixes:
          if size < 1024:
              return f'{size:0.1f}{suffix}'
          size /= 1024
  
      return f'{size:0.1f}PB'
function_tokens: def prettyify ( size ) : suffixes = [ 'KB' , 'MB' , 'GB' , 'TB' ] if size < 1024 : return f'{size}B' size /= 1024 for suffix in suffixes : if size < 1024 : return f'{size:0.1f}{suffix}' size /= 1024 return f'{size:0.1f}PB'