human
How to urlencode a querystring in Python?
assistant
Here is some code to urlencode a querystring 'string_of_characters_like_these:$#@=?%^Q^$' in python 2

urllib.parse.quote_plus('string_of_characters_like_these:$#@=?%^Q^$')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.