realpython / python-scripts

because i'm tired of gists
MIT License
2.08k stars 682 forks source link

remove_all_pyc Bug #1

Closed ghost closed 8 years ago

ghost commented 8 years ago

https://github.com/realpython/python-scripts/blob/master/01_remove_all_pyc.md

All the Python 2 and 3 comes builtin with a battery to do that in a better way...

pyclean .

You can also make it more Verbose or use a path to a project or module or whatever like:

pyclean --verbose /home/code/foo/

This solution is Cross-platform and more safe.

And the proposed solution on 01_remove_all_pyc.md will Fail to clean *.pyo and *.pyd.

mjhea0 commented 8 years ago

I'm pretty sure pyclean is ubuntu only