[Tutor] Parsing html user HTMLParser
by ????????? other posts by this author
Apr 20 2006 12:56AM messages near this date
Re: [Tutor] pyExcelerator for Python 2.3
|
Re: [Tutor] Parsing html user HTMLParser
Hi folks,
I need help here, I'm struggling with html parsing method, up until now
I can only put and html file as instance. I have no experience with
this, I want to read the childs inside this document and modify the
data. What can I do if I start from here?
> from HTMLParser import HTMLParser
>
> p = HTMLParser()
> s = open('/home/virak/Documents/peace/test.html').read()
> p.feed(s)
>
> print p
>
> p.close()
Titvirak
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
?????????
Danny Yoo
Kent Johnson
|