Re: SGMLlib module

2005-05-08 Thread John J. Lee
Peter Hansen <[EMAIL PROTECTED]> writes: > Harlin Seritt wrote: > > I am trying to use SGMLlib module to extract all links from some data I > > pulled from the web (via urllib). I have looked at the documentation > > online and can not make sense of it. As a quick examp

Re: SGMLlib module

2005-05-08 Thread Harlin Seritt
Thanks for the help, I just didn't like the way that SGMLlib forces one to instantiate a class to do this (or httplib for that matter). I looked at those links you graciously sent (thanks!) but didn't like them. At any rate, I went ahead and wrote my own. Thank goodness that it's easy to parse with

Re: SGMLlib module

2005-05-08 Thread Peter Hansen
Harlin Seritt wrote: > I am trying to use SGMLlib module to extract all links from some data I > pulled from the web (via urllib). I have looked at the documentation > online and can not make sense of it. As a quick example, how would I > get the hyperlinks for an html file? I kno

SGMLlib module

2005-05-08 Thread Harlin Seritt
I am trying to use SGMLlib module to extract all links from some data I pulled from the web (via urllib). I have looked at the documentation online and can not make sense of it. As a quick example, how would I get the hyperlinks for an html file? thanks, Harlin -- http://mail.python.org