Re: [Tutor] htmllib vs re question

2006-03-09 Thread Kent Johnson
->Terry<- wrote: > I want to parse some text from an HTML file that contains > blocks of pre-formatted text. All I'm after is what's between > the and tags. > > The HTML file size varies, but I don't expect the size to exceed > 150-200k. Speed is not a bug concern. > > What is the Pythonic way

[Tutor] htmllib vs re question

2006-03-09 Thread ->Terry<-
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I want to parse some text from an HTML file that contains blocks of pre-formatted text. All I'm after is what's between the and tags. My first thought was to use re for this, but looking through the Library Reference, I see the htmllib module. Is h