title: python 3.2 error saying urllib.parse.urlencode() is not defined
body: <p>I am trying to use urllib.parse.urlencode() method in one of my scripts. 
  import urllib</p>
  
  <pre><code>#!/usr/bin/python3.2
  
  import urllib
  
  data = urllib.parse.urlencode({'type': 'device_code','client_id': 150792241632891})
  </code></pre>
  
  <p>It was working before but now I get following error.</p>
  
  <p><strong>Output</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/rakesh/programming/test.py", line 8, in &lt;module&gt;
      data = urllib.parse.urlencode({'type': 'device_code','client_id': 150792241632891})
  AttributeError: 'module' object has no attribute 'parse'
  </code></pre>
  
  <p>Initially I doubt my python shell but when I checked it is using python version 3.2 which should be fiine.</p>
  
  <p>Now I am totally perplexed why python shell is behaving this way.
  Am I missing something here?</p>
  
  <p>Thanks</p>