title: how can i get all links from a html file with python using easyhtmlparser?
body: <p>i'm trying to get all the links and images from a page using html parser 
  <a href="http://easyhtmlparser.sourceforge.net/" rel="nofollow">http://easyhtmlparser.sourceforge.net/</a></p>
  
  <pre><code>fd = open('file.html', 'r')
  data = fd.read()
  fd.close()
  html = Html()
  dom = html.feed(data)
  for ind in dom.sail():
      if ind.name == 'a':
          print ind.attr['ref']
  </code></pre>