title: urllib3.urlencode googlescholar url from string
body: <p>I am trying to encode a string to <code>url</code> to search google scholar, soon to realize, <code>urlencode</code> is not provided in <code>urllib3</code>.</p>
  
  <pre><code>&gt;&gt;&gt; import urllib3
  &gt;&gt;&gt; string = "https://scholar.google.com/scholar?" + urllib3.urlencode( {"q":"rudra banerjee"} )
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'module' object has no attribute 'urlencode'
  </code></pre>
  
  <p>So, I checked <a href="https://urllib3.readthedocs.org/en/latest/helpers.html#module-urllib3.request" rel="nofollow">urllib3 doc</a> and found, I possibly need <code>request_encode_url</code>. But I have no experience in using that and failed.</p>
  
  <pre><code>&gt;&gt;&gt; string = "https://scholar.google.com/scholar?" +"rudra banerjee"
  &gt;&gt;&gt; url = urllib3.request_encode_url('POST',string)
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'module' object has no attribute 'request_encode_url'
  </code></pre>
  
  <p>So, how I can encode a string to url?</p>
  
  <p><strong>NB</strong> I don't have any particular fascination to urllib3. so, any other module will also do.</p>