X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 195.154.70.45 Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!nntpfeed.proxad.net!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; "wouldn't": 0.16; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; 'own.': 0.22; 'header :In-Reply-To:1': 0.24; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'url:python': 0.33; 'requirements': 0.34; 'library.': 0.35; 'asking': 0.35; 'url:org': 0.36; 'url:library': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'url:2': 0.39; 'url:docs': 0.39; 'some': 0.40; 'url:3': 0.60; 'your': 0.60; 'header:Message-Id:1': 0.62; 'us.': 0.62; 'strange': 0.63; 'rare': 0.66; 'subject:Get': 0.66; 'url:4': 0.70; 'received:89': 0.80; 'subject:tree': 0.84 To: Wesley cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Get html DOM tree by only basic builtin moudles In-Reply-To: Message from Wesley of "Thu, 04 Jun 2015 04:58:23 -0700." <099a955d-134a-46d6-bdba-61ec2b1eb44f@googlegroups.com> References: <099a955d-134a-46d6-bdba-61ec2b1eb44f@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32527.1433422895.1@fido> Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Jun 2015 15:01:35 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Thu, 04 Jun 2015 15:01:37 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433422910 news.xs4all.nl 2837 [2001:888:2000:d::a6]:56612 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92046 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/2.7/library/xml.etree.elementtree.html#module-xml.= etree.ElementTree https://docs.python.org/3.4/library/xml.etree.elementtree.html