📜  django clear _pycache_ 命令 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.469000             🧑  作者: Mango

代码示例1
py -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
py -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"