您的当前位置:首页正文

整理文件python

来源:要发发知识网

#--*-- encoding:utf-8 --*--

import os,re,shutil

for s in os.listdir('.'):

if s.endswith(".webloc"):

print s

shutil.move(s,'./web')