from urllib.parse import quote import urllib poet_name = "李白" url_code_name = urllib.parse.quote(poet_name) print(url_code_name)
查看更多关于AttributeError: module ‘urllib‘ has no attribute ‘的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did125963