import os
if os.path.getsize(file_path)==0:
print("%s is a empty file"%(file_path))
import os
if os.stat(file_path).st_size == 0:
print("%s is a empty file"%(file_path))
import os
if os.path.getsize(file_path)==0:
print("%s is a empty file"%(file_path))
import os
if os.stat(file_path).st_size == 0:
print("%s is a empty file"%(file_path))