import os
import glob
path =imgDate_listResult
for infile in glob.glob(os.path.join(path, '*.jpg')):
os.remove(infile)
import os
import glob
path =imgDate_listResult
for infile in glob.glob(os.path.join(path, '*.jpg')):
os.remove(infile)