> On Fri, Jun 5, 2015 at 12:10 PM, Wesley wrote:
> > Hi Laura,
> > Sure, I got special requirement that just parse html file into DOM tree,
> > by only general basic modules, and based on my DOM tree structure, draft an
> > bitmap.
> >
> > So, could you give me an direction how to get the DO
On Fri, Jun 5, 2015 at 12:10 PM, Wesley wrote:
> Hi Laura,
> Sure, I got special requirement that just parse html file into DOM tree, by
> only general basic modules, and based on my DOM tree structure, draft an
> bitmap.
>
> So, could you give me an direction how to get the DOM tree?
> Curr
Hi Laura,
Sure, I got special requirement that just parse html file into DOM tree, by
only general basic modules, and based on my DOM tree structure, draft an bitmap.
So, could you give me an direction how to get the DOM tree?
Currently, I just think out to use something like stack, I mean, m
Elementtree is part of the Python standard library. You are better off
using it than rolling your own. (If you were one of the rare people who
have some very strange requirements that make you better off writing your
own, you wouldn't be asking us. You'd already know.)
https://docs.python.org/
Hi guys,
I know there are many modules(builtin or not, e.g.
beautifulsoup,xml,lxml,htmlparser .etc) to parse html files and output the DOM
tree. However, if there is any better way to get the DOM tree without using
those html/xml related modules? I mean, just by some general standard modules,