Skip to content

Instantly share code, notes, and snippets.

@yymm
Last active December 14, 2015 09:08
Show Gist options
  • Save yymm/5062712 to your computer and use it in GitHub Desktop.
Save yymm/5062712 to your computer and use it in GitHub Desktop.
remove .pyc ワンライナー
python -c "import os;[os.remove(x) for x in os.listdir('./') if x.find('.pyc') > 0]"
@yymm
Copy link
Author

yymm commented Aug 9, 2013

rm *.pyc
でいいとかあえて言わない。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment