python不会就百度
import urllib,urlparse
url = urlparse.urlunsplit(("http","lmbtfy.bangbang93.com","/",urllib.quote("百度一下"),""))
print (url)
import urllib,urlparse
url = urlparse.urlunsplit(("http","lmbtfy.bangbang93.com","/",urllib.quote("百度一下"),""))
print (url)