title: Python requests and variable payload
body: <p>Reticulated members,</p>
  
  <p>I am attempting to use a GET method that is supported against the endpoint. However, I am using python and wanting to pass the user raw_input that is assigned to a variable:</p>
  
  <pre><code>uid = raw_input('Enter username: ')
  payload = {'q': %s} % uid
  </code></pre>
  
  <p>where 'q' is the key and '%s' is the value for the query string. PS is throwing a syntax error pointing to %s.</p>
  
  <p>Any suggestions please.</p>