#!/usr/bin/env python
import os
import shutil
filelist=[]
rootdir="/home/zoer/aaa"
filelist=os.listdir(rootdir)
for f in filelist:
filepath = os.path.join( rootdir, f )
if os.path.isfile(filepath):
os.remove(file...
8-08 3,209 views
#!/usr/bin/env python
import os
import shutil
filelist=[]
rootdir="/home/zoer/aaa"
filelist=os.listdir(rootdir)
for f in filelist:
...