Re: Hands-on HTML Table Parser/Matrix?



There are couple of HTML examples using Pyparsing here:

http://pyparsing.wikispaces.com/Examples


--Tim

On Sun, 2008-07-06 at 14:40 +0200, robert wrote:
Often I want to extract some web table contents. Formats are
mostly static, simple text & numbers in it, other tags to be
stripped off. So a simple & fast approach would be ok.

What of the different modules around is most easy to use, stable,
up-to-date, iterator access or best matrix-access (without need
for callback functions,classes.. for basic tasks)?


Robert
--
http://mail.python.org/mailman/listinfo/python-list
--
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
**************************************************************
*You may get my Public GPG key from popular keyservers or *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part



Relevant Pages

  • Re: Parsing Baseball Stats
    ... HTML parsing is one of those slippery slopes - or perhaps "tar babies" might ... But HTML tags expressions *do* nest - lists within lists, ... And for applications such as this, pyparsing ...
    (comp.lang.python)
  • Re: word webpages
    ... The ther are som tags with no closing tags DreamWeaver would remove what ever was causing these problems. ... Just create a simple document and save as HTML Make sure it has some type of formatting. ... XML all versions ...
    (microsoft.public.mac.office.word)
  • Re: macro and cl-who help
    ... Lisp, but... ... you back into the "walking forms as HTML data" mode, ... This would have been extensible with user-defined tags, ... HTML tags are macros can be functions: ...
    (comp.lang.lisp)
  • Re: html scraping
    ... Not for parsing HTML! ... DOM and SimpleXML are the right tools here. ... parser that can deal with missing end tags. ... -- If a close tag is seen, push it on the stack. ...
    (comp.lang.php)
  • Re: A new JavaScript tutorial(Beta)
    ... >> from HTML. ... >> two tags very well - they have awesome powers. ... >> alliance with CSS are currently posing a great threat to the other ... which is block level and to which any CSS styling can be applied. ...
    (comp.lang.javascript)