Skip to content

Instantly share code, notes, and snippets.

@eyeseast
Created December 13, 2010 13:06
Show Gist options
  • Save eyeseast/738974 to your computer and use it in GitHub Desktop.
Save eyeseast/738974 to your computer and use it in GitHub Desktop.
def rm_pyc():
"Clear all .pyc files that might be lingering"
local("find . -name '*.pyc' -print0|xargs -0 rm", capture=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment