Cleaning up *.py[co] and __pycache__ tip

This commit is contained in:
Robson Roberto Souza Peixoto
2016-08-01 00:43:48 -03:00
committed by GitHub
parent 972405bad7
commit 1bcc6d5cc8
+1 -1
View File
@@ -224,7 +224,7 @@ Removing Bytecode (.pyc) Files
Here's nice trick for removing all of these files, if they already exist::
$ find . -name "*.pyc" -delete
$ find . -type f -name "*.py[co]" -delete -or -type d -name "__pycache__" -delete
Run that from the root directory of your project, and all ``.pyc`` files
will suddenly vanish. Much better.