Python

From Joseph Luis Wiki
Revision as of 17:40, 3 May 2013 by Josephluis (Talk | contribs) (Created page with "'''Back to the TOC''' =How to percent-encode url parameters in python= <pre> python -c "import urllib, sys; print urllib.quote(sys.argv[1])" æ python -...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to the TOC

How to percent-encode url parameters in python

python -c "import urllib, sys; print urllib.quote(sys.argv[1])" æ

python -c "import urllib, sys; print urllib.unquote(sys.argv[1])" %C3%A6

Stefano Palazzo