Python verifique si el archivo tiene contenido

>>> import os
>>> os.stat("file").st_size == 0
True
Fancy Flatworm