check 大小

# -*- coding: utf-8 -*-

#

import datetime,time
import os,shutil

for d in os.listdir("./log/"):
if os.lstat("./log/"+d).st_size == 0:
print d,'is no open'

print 'check end '
time.sleep(1)

##哈哈 小伙伴的