windows强制删除文件命令
windows强制删除文件命令: rd/s/q 盘符:\某个文件夹 del/f/s/q 盘符:\某个文件#!usr/bin/env python# -*- coding: utf-8 -*-import osdef delete_file(filePath): # 常规操作;使用缺陷如果想要删除文件正在被使用那么就会报异常 if os.path.exists(filePath): os.remove(filePath) # 在某些情..