Create a gist now

Instantly share code, notes, and snippets.

@llimllib /sort.py Secret
Last active Dec 25, 2015

Embed
What would you like to do?
import sys
open(sys.argv[2], 'w').writelines(sorted(open(sys.argv[1]).readlines()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment