title: Conversion of URL string to Dict in python 2.7
body: <p>I have string like</p>
  
  <pre><code>s='www.gmail.com?uname=mark&amp;pwd=test&amp;age=20'
  </code></pre>
  
  <p>and i want string(s) to be converted into dict(d) in following manner</p>
  
  <pre><code>d={'uname':'mark','pwd':'test','age':20}
  </code></pre>
  
  <p>Thanks a lot</p>