Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97417 > unrolled thread

Re: Parsing HTML with xml.etree in Python 2.7?

Started bySkip Montanaro <skip.montanaro@gmail.com>
First post2015-10-05 10:15 -0500
Last post2015-10-05 10:15 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Parsing HTML with xml.etree in Python 2.7? Skip Montanaro <skip.montanaro@gmail.com> - 2015-10-05 10:15 -0500

#97417 — Re: Parsing HTML with xml.etree in Python 2.7?

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2015-10-05 10:15 -0500
SubjectRe: Parsing HTML with xml.etree in Python 2.7?
Message-ID<mailman.398.1444058107.28679.python-list@python.org>
On Mon, Oct 5, 2015 at 9:14 AM, Skip Montanaro <skip.montanaro@gmail.com> wrote:
> I wouldn't be surprised if there were some small API changes other than the
> name change caused by the move into the xml package. Before I dive into a
> rabbit hole and start to modify elementtidy, is there some other stdlib-only
> way to parse HTML code into an xml.etree.ElementTree?

Never mind. The only change necessary turned out to be the import. /F
writes robust code. :-)

Skip

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web