import shutil. dstPath = "test/". print "目录删除前: %s" % os.listdir(dstPath). #递归的删除目录及文件. #shutil.rmtree('test/aa').
確定! 回上一頁