← Learn
Safe
find . -name "*.pyc" -delete

cross-platform · python · Intermediate

Removes compiled Python bytecode caches beneath the current directory. The files are regenerated automatically on the next import, and the search is anchored to where you are rather than to an absolute path.

Think you can spot these under time pressure?

Start Training

More Python