title: How can I open a website with urllib via proxy in Python?
body: <p>I have this program that check a website, and I want to know how can I check it via proxy in Python...</p>
  
  <p>this is the code, just for example</p>
  
  <pre><code>while True:
      try:
          h = urllib.urlopen(website)
          break
      except:
          print '['+time.strftime('%Y/%m/%d %H:%M:%S')+'] '+'ERROR. Trying again in a few seconds...'
          time.sleep(5)
  </code></pre>