8
tôi đã cố gắng làm theo the documentation nhưng đã không thể sử dụng urlparse.parse.quote_plus()
trong Python 3
:Làm cách nào để mã hóa URL bằng Python 3?
from urllib.parse import urlparse
params = urlparse.parse.quote_plus({'username': 'administrator', 'password': 'xyz'})
tôi nhận được
AttributeError: 'function' object has no attribute 'parse'