Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6d51a1

Browse files
committed
Merge pull request realpython#698 from gruzovator/master
more simple rm pyc files command
2 parents 4af2850 + f7f4728 commit e6d51a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/writing/gotchas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Removing Bytecode (.pyc) Files
224224

225225
Here's nice trick for removing all of these files, if they already exist::
226226

227-
$ find . -name "*.pyc" -exec rm -rf {} \;
227+
$ find . -name "*.pyc" -delete
228228

229229
Run that from the root directory of your project, and all ``.pyc`` files
230230
will suddenly vanish. Much better.

0 commit comments

Comments
 (0)