curl_unescape似乎不在pycurl中,我该用什么呢?
Have you tried urllib.quote
?
import urllib
print urllib.quote("some url")
some%20url
here's the documentation
curl_ unescape is an obsolete function. Use curl_ easy_unescape instead.
We are planning to release new version of pycURL in a month or two. The new version would have all features of libcurl installed on your machine. -:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.