bin/urldecode @ 2b6e7849cfce

Make urlendecode into real scripts
author Steve Losh <steve@stevelosh.com>
date Tue, 09 Oct 2018 10:02:46 -0700
parents (none)
children (none)
#!/usr/bin/env python

import sys, urllib

input = sys.stdin.read() if len(sys.argv) == 1 or sys.argv[1] == "-" else sys.argv[1]

print urllib.unquote_plus(input)