Text over multiple lines

Pawel Kraszewski pawel_Kraszewski at wp.pl
Sun Jun 20 12:14:41 CEST 2004


Rigga wrote:

> 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?

Perhaps you should glue the whole text as a one long line?

-- 
 Pawel Kraszewski                                FreeBSD/Linux

        E-Mail/Jabber             Phone         ICQ       GG
   Pawel_Kraszewski at wp.pl    +48 604 777447   45615564   69381



More information about the Python-list mailing list