title: Python: Suppressing errors from going to commandline?
body: <p>When I try to execute a python program from command line, it gives the following error. These errors do not cause any problem to  my ouput. I dont want it to be displayed in the commandline</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 88, in &lt;module&gt;
      p.feed(ht)
    File "/usr/lib/python2.5/HTMLParser.py", line 108, in feed
      self.goahead(0)
    File "/usr/lib/python2.5/HTMLParser.py", line 148, in goahead
      k = self.parse_starttag(i)
    File "/usr/lib/python2.5/HTMLParser.py", line 226, in parse_starttag
      endpos = self.check_for_whole_start_tag(i)
    File "/usr/lib/python2.5/HTMLParser.py", line 301, in check_for_whole_start_tag
      self.error("malformed start tag")
    File "/usr/lib/python2.5/HTMLParser.py", line 115, in error
      raise HTMLParseError(message, self.getpos())
  HTMLParser.HTMLParseError: malformed start tag, at line 319, column 25
  </code></pre>
  
  <p>How could I suppress the errors?</p>