Created
April 18, 2013 10:21
-
-
Save tomoh1r/5411699 to your computer and use it in GitHub Desktop.
zip test ワンライナー、セミコロン無しバージョン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c "with getattr(__import__('zipfile', globals(), locals(), [], -1), 'ZipFile')('hoge.zip', 'r') as zfp: print(not bool(zfp.testzip()))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment