标签:pat res path glob rem result join list lis
import os
import glob
path =imgDate_listResult
for infile in glob.glob(os.path.join(path, ‘*.jpg‘)):
os.remove(infile)
标签:pat res path glob rem result join list lis
原文地址:https://www.cnblogs.com/MaxElephant/p/10190459.html