Text over multiple lines

Nigel Rowe rho at see.signature.invalid
Sun Jun 20 13:03:34 CEST 2004


Rigga wrote:

> Hi,
> 
> I am using the HTMLParser to parse a web page, part of the routine I need
> to write (I am new to Python) involves looking for a particular tag and
> once I know the start and the end of the tag then to assign all the data
> in between the tags to a variable, this is easy if the tag starts and ends
> on the same line however how would I go about doing it if its split over
> two or more lines?
> 
> Thanks
> 
> R

Don't re-invent the wheel,
http://www.crummy.com/software/BeautifulSoup/

-- 
        Nigel Rowe
        A pox upon the spammers that make me write my address like..
                rho (snail) swiftdsl (stop) com (stop) au



More information about the Python-list mailing list