Skip to content

Instantly share code, notes, and snippets.

@joswr1ght
Created January 20, 2016 13:23
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 joswr1ght/c2dae3366e0094ade137 to your computer and use it in GitHub Desktop.
Save joswr1ght/c2dae3366e0094ade137 to your computer and use it in GitHub Desktop.
URL decode from the command line
#!/usr/bin/env python
import sys, urllib as ul
print ul.unquote_plus(open(sys.argv[1]).read()),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment