title: How can I extract the title from a URL in Python without using any external module?
body: <p>I'd like to create a variable whose data is the title extracted from an URL without using any external module.</p>
  
  <p>I'm new with Python so if you can, please explain what does every part of the code.</p>
  
  <p>Thanks.</p>
  
  <p>PD: I'm using Python 3.</p>
  
  <p>PD2: I mean the title tag of its HTML.</p>