what is pythons file size code example Example: python file size >>> import os >>> b = os.path.getsize("/path/isa_005.mp3") >>> b 2071611