title: How to remove scheme from url in Python?
body: <p>I am working with an application that returns urls, written with <code>Flask</code>. I want the <code>URL</code> displayed to the user to be as clean as possible so I want to remove the <code>http://</code> from it. I looked and found the <code>urlparse</code> library, but couldn't find any examples of how to do this.</p>
  
  <p>What would be the best way to go about it, and if <code>urlparse</code> is overkill is there a simpler way? Would simply removing the "<code>http://</code>" substring from the URL just using the regular string parsing tools be bad practice or cause problems? </p>