title: Python 3.4 - failing to connect to http with urllib
body: <p>I'm trying to run a simple Python script which connects to a website and reads a document on the website, but it fails. Any help, would be most welcome, thank you!</p>
  <p>The code is as follows:</p>
  <pre><code>import urllib.request
  
  fhand = urllib.request.urlopen('http://www.py4inf.com/code/romeo.txt')
  
  for line in fhand:
      print (line.strip())
  </code></pre>
  <p>And I'm getting the following two error messages:</p>
  <blockquote>
  <p>TimeoutError: [WinError 10060] A connection attempt failed because the
  connected party did not properly respond after a period of time, or
  established connection failed because connected host has failed to
  respond</p>
  <p>urllib.error.URLError: {urlopen error [WinError 10060] A connection
  attempt failed because the connected party did not properly respond
  after a period of time, or established connection failed because
  connected host has failed to respond}</p>
  </blockquote>