shell url encode

python -c "import urllib; print urllib.quote('your url')"

原文地址:https://www.cnblogs.com/stdpain/p/13402931.html