Thanks, that's good to know. I'm just a few months into using Python
(and weeks with Django), hence the familiarity with that one book and
not real-world application just yet.
On Jan 28, 9:45 am, Masklinn wrote:
> On 2012-01-27, at 23:40 , jondbaker wrote:
>
> > Chapter 8 of Dive Into Python demo
On 2012-01-27, at 23:40 , jondbaker wrote:
> Chapter 8 of Dive Into Python demonstrates what you're describing
> using sgmllib.
> http://www.diveintopython.net/
None of these libraries is very good at parsing "real-world" (broken) HTML
though, for that you'd better go with html5lib, lxml.html or
Chapter 8 of Dive Into Python demonstrates what you're describing
using sgmllib.
http://www.diveintopython.net/
On Jan 27, 3:31 pm, Dennis Lee Bieber wrote:
> On Fri, 27 Jan 2012 13:35:42 +0700, ddtopgun wrote:
> >i'am new to django and i want to try get the content of HTML.
> >can help me how t
i'am new to django and i want to try get the content of HTML.
can help me how to get the content of html.
f=urllib.request.urlopen("http://site_name.com";)
s=f.read()
f.close()
but the code is display all code html. i want to just take the contents
of tag html.
thanks.
--
You received this m
4 matches
Mail list logo