[lug] Python HTMLparser

Jeffery Collins jcollins at boulder.net
Mon May 7 15:23:17 MDT 2001


There is a simple working test function in the htmllib.py file itself.
I executed it as:

python /usr/local/lib/python2.1/htmllib.py ~/test.html

where test.html was just a junk page. 

Jeff


On Mon, May 07, 2001 at 02:49:18PM -0600, KELLEY SCOTT T wrote:
> 
> Does anyone out there have some Python code using the HTMLparser from the
> htmllib? I've tried the examples in the library reference but can't get
> them to work. I know I'm missing something, but I just can't find a good
> example out there of someone using Python parsers.
> 
> Anyway, if you have a little script I could peek at or know where I can
> find one I would be very appreciative. -Scott
> 
> ------------------------------------------------------------------------------
> Scott T. Kelley, Ph.D.			E-mail: Scott.Kelley at Colorado.edu
> Dept. MCD Biology			Phone : 303-735-1808
> Campus Box 347				Fax   : 303-492-7744
> University of Colorado
> Boulder, CO  80309-0347
> U.S.A.
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list