title: Reading an HTML File from Folder in Python
body: <p>I want to read an HTML file in Python 3.4.3.</p>
  
  <p>I have tried:</p>
  
  <pre><code>import urllib.request
  fname = r"C:\Python34\html.htm"
  HtmlFile = open(fname,'w')
  print (HtmlFile)
  </code></pre>
  
  <p>This prints:</p>
  
  <pre><code>&lt;_io.TextIOWrapper name='C:\\Python34\\html.htm' mode='w' encoding='cp1252'&gt;
  </code></pre>
  
  <p>I want to get the HTML source so that I can parse it with beautiful soup.</p>