Rookie: Parsing the nth table out of an html doc

Thomas Guettler pan-newsreader at thomas-guettler.de
Thu Mar 20 02:23:04 EST 2003


On Thu, 20 Mar 2003 05:15:23 +0100, footnipple wrote:

> Hello All,
> 
> I've "googled" and "rtfm'ed", and I'm just not getting how to do this
> from the python documentation...

There are two ways: 

 - you can try to parse it yourself with regular expressions.
   If the table is created from a database and a script, this might
   be easy.

 - You can use a html parser. E.g. HTMLParse (look at the module index)

 thomas

-- 
Thomas Guettler <guettli at thomas-guettler.de>
http://www.thomas-guettler.de




More information about the Python-list mailing list