title: reading some content from a web page read in python
body: <p>I am trying to read some data from a python module from a web.</p>
  
  <p>I manage to read, however having some difficulty in parsing this data and getting the required information.</p>
  
  <p>My code is below. Any help is appreciated.</p>
  
  <pre><code>#!/usr/bin/python2.7 -tt
  
  import urllib
  import urllib2
  
  def Connect2Web():
    aResp = urllib2.urlopen("https://uniservices1.uobgroup.com/secure/online_rates/gold_and_silver_prices.jsp");
    web_pg = aResp.read();
  
    print web_pg
  
  #Define a main() function that prints a litte greeting
  def main():
    Connect2Web()
  
  # This is the standard boilerplate that calls the maun function.
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>When I print this <a href="https://uniservices1.uobgroup.com/secure/online_rates/gold_and_silver_prices.jsp" rel="nofollow">web page</a> I get the whole web page printed.</p>
  
  <p>I want to extract some information from it, (e.g. <code>"SILVER PASSBOOK ACCOUNT"</code> and get the rate from it), I am having some difficulties in parsing this html document.</p>