del file in many sub fold, this term is bin
# -*- coding: UTF-8 -*-
import os
mylist = os.listdir(os.getcwd())
cur = os.getcwd()
for i in range(0, len(mylist)):
mypath = os.path.join(cur, mylist[i])
if os.path.isdir(mypath):# 如果是文件夹,则将该文件夹的图片移动和记录
os.system("del %s\*.bin" % (mypath))