Python3.7
from urllib import parse
password = parse.quote_plus(password)