A simple Python library for human readable file sizes (or anything sized in bytes). hurry.filesize a simple Python library that can take a number of bytes and returns a human-readable string with the size in it, in kilobytes (K), megabytes (M), etc.