Skip to content

Instantly share code, notes, and snippets.

@benjaminws
Last active December 10, 2015 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjaminws/4489953 to your computer and use it in GitHub Desktop.
Save benjaminws/4489953 to your computer and use it in GitHub Desktop.
My son wanted to know how to do LPTHW ex17 in one line...
import sys; open(sys.argv[2], 'w').write(open(sys.argv[1]).read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment