pyparsing with nested table

astarocean astarocean at gawab.com
Thu Dec 8 13:12:37 CET 2005


Paul McGuire wrote:
>
> Load Forward's with '<<' instead of '='.  Change:
>   tablePattern = getMultiLevelPattern('table',trPattern)
> to:
>   tablePattern << getMultiLevelPattern('table',trPattern)
>
> I think that is all you needed.
>
> Awesome job!  (Also check out the pyparsing built-ins for making HTML
> and XML tags.)
>
> -- Paul

thank you ,  i was wonding why my iteraiton not functional . so it's my
fault .

later , i checked other parsers like Clientable & BeautifulSoap ,
i think with beautifulsoap doing this job is a better idea.




More information about the Python-list mailing list