标签: python python-3.x python-2.7 python-imaging-library
我仍然找不到以字节为单位打印图像大小的信息。
答案 0 :(得分:1)
您可以简单地使用os。
os
import os os.path.getsize('test.jpg')