Working With hurry Filesize in Python
- Last modified: 10 February 2020
- Category: python libraries
In this tutorial, we'll learn how to convert size in python by using "hurry.filesize" library
Instalation
pip install hurry.filesize
syntax:
size(size_in_bytes)
example:
from hurry.filesize import size
size(11000) #bytes
output:
'10K'
English today is not an art to be mastered it's just a tool to use to get a result