title: How can I normalize a URL in python
body: <p>I'd like to know do I normalize a URL in python. </p>
  
  <p>For example, If I have a url string like : "<a href="http://www.example.com/foo" rel="noreferrer">http://www.example.com/foo</a> goo/bar.html"</p>
  
  <p>I need a library in python that will transform the extra space (or any other non normalized character) to a proper URL.</p>