python爬虫url带中文解决方案之一

import urllib2
urllib2.quote("呵呵哒")
#输出
'%BA%C7%BA%C7%DF%D5'
原文地址:https://www.cnblogs.com/zzhzhao/p/5379177.html