We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b81aa84 + 1bcc6d5 commit 96fda54Copy full SHA for 96fda54
docs/writing/gotchas.rst
@@ -224,7 +224,7 @@ Removing Bytecode (.pyc) Files
224
225
Here's nice trick for removing all of these files, if they already exist::
226
227
- $ find . -name "*.pyc" -delete
+ $ find . -type f -name "*.py[co]" -delete -or -type d -name "__pycache__" -delete
228
229
Run that from the root directory of your project, and all ``.pyc`` files
230
will suddenly vanish. Much better.
0 commit comments