diff --git a/comprehensions.html b/comprehensions.html index 9b50020..7358cbf 100644 --- a/comprehensions.html +++ b/comprehensions.html @@ -171,7 +171,7 @@ body{counter-reset:h1 3} >>> metadata.st_size 3070 >>> import humansize ->>> humansize.approximate_size(metadata.st_size) +>>> humansize.approximate_size(metadata.st_size) '3.0 KiB'
  1. The os.stat() function also returns the size of a file, in the st_size property. The file feed.xml is 3070 bytes.