View Single Post
Old Mar 9th, 2006, 8:01 PM   #10
hydroxide
Programmer
 
Join Date: Apr 2005
Posts: 73
Rep Power: 4 hydroxide is on a distinguished road
Quote:
Originally Posted by Sane
def parse_tag(text, open = '<', close = '>'):
Were you aware of htmllib? It's in the stdlib and is built for parsing html...
(the documentation for it is fairly awful, though, so you'd have to google for examples of how to use it)

--OH.
hydroxide is offline   Reply With Quote