def value_to_param(key, value):
    '\n    Convert a key value pair into a URL parameter pair\n    '
    value = str(value)
    encoded_key = urllib.parse.quote(key)
    encoded_value = urllib.parse.quote(value)
    result = ((encoded_key + '=') + encoded_value)
    return result
Convert a key value pair into a URL parameter pair
def value_to_param(key, value):
    '\n    \n    '
    value = str(value)
    encoded_key = urllib.parse.quote(key)
    encoded_value = urllib.parse.quote(value)
    result = ((encoded_key + '=') + encoded_value)
    return result