-3

I couldn't find anyway to print the size of an image in bytes.

ray1195
  • 96
  • 11

1 Answers1

1

You can simply use os.

import os
os.path.getsize('test.jpg')
isopach
  • 1,589
  • 7
  • 30
  • 39