Created
March 1, 2018 15:41
-
-
Save rm--/3d4509e617c2e7cf9965cd3d137de99d to your computer and use it in GitHub Desktop.
url encode and decode in python (alias)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urlencode='python3 -c "import sys, urllib.parse as ul; print(ul.quote_plus(sys.argv[1]))"' | |
urldecode='python3 -c "import sys, urllib.parse as ul; print(ul.unquote_plus(sys.argv[1]))"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment