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

Re: [Tutor] htmllib

2005-10-05 Thread Ed Singleton
You're like some kind of god! That's exactly what I need. Thanks Ed On 05/10/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote: > > I want to dump a html file into a python object. Each nested tag > > would be a sub-object, attributes would be properties. So that I can > > use

Re: [Tutor] htmllib

2005-10-05 Thread Kent Johnson
Ed Singleton wrote: > I want to dump a html file into a python object. Each nested tag > would be a sub-object, attributes would be properties. So that I can > use Python in a similar way to the way I use JavaScript within a web > page. I don't know of a way to run Python from within a web page.