Python笔记

url编码

1 import urllib
2 str = raw_input("str:")
3 print urllib.quote(str)

 

posted @ 2016-08-12 12:35  曾几何时ya  阅读(92)  评论(0编辑  收藏  举报