Created
January 15, 2012 18:50
-
-
Save Telltak/1616749 to your computer and use it in GitHub Desktop.
Trying to shorten exercise 17 to one line. (broken)
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
a=lambda f, m:open(__import__('sys').argv[f],m);if not raw_input("File %d bytes\nEnter continue, CTRL-C abort." % len(a(1, 'r').read())):a(2, 'w').write(a(1, 'r')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment