import os
import shlex
import subprocess
import multiprocessing
import datetime;
for file in [ root+'/'+file for root,dirs,files in os.walk('/home/sys/sites/') for file in files if file[-3:]!='.gz' ]:
if os.path.getsize(file) != 0:
........