在powershell上执行 get-childitem * -include *.pyc -recurse |remove-item 或者使用别名 ls * -include *.pyc -recurse |rm