getting tables out

M.A.Miller miller at uinpluxa.npl.uiuc.edu
Mon May 24 13:43:05 EDT 1999


>>>>> "Michael" == Michael Spalinski <mspal at sangria.harvard.edu> writes:

    > So - does anyone have a Python snippet that looks for
    > tables and gets at the data?

There is a table parser and an usage example at
http://www.npl.uiuc.edu/~miller/python/#HTMLTools .  Tables are
stored in a list, so multiple tables in a single document can be
handled - but only if they are sequential.  I don't make any
attenpt to handle nested tables.

Mike




More information about the Python-list mailing list