title: How to perform website authentication using urllib.request.urlopen
body: <p>I am new to python and I am trying to scrape a website following a tutorial and the code goes as follows:</p>
  <pre><code>from urllib.request import urlopen as uReq
  url = 'https://www.example.com/'
  uClient = uReq(url)
  </code></pre>
  <p>The last line provides an error as the website needs authentication first. How to I get around this?</p>