from urllib import parse
QueryString = "안녕하세요"
"""
# Value Encoding (quote)
"""
encodedValue = parse.quote(QueryString)
encodedValue
"""
# Value Decoding (unquote)
"""
decodedValue = parse.unquote(encodedValue) 
decodedValue