[Tutor] parsing--is this right?

Alexandre Ratti alex@gabuzomeu.net
Tue, 11 Jun 2002 12:03:11 +0200


Hi Paul,


At 23:29 10/06/2002 -0400, you wrote:
>Date: Mon, 10 Jun 2002 23:21:15 -0400
>From: Paul Tremblay <phthenry@earthlink.net>
>Subject: Re: [Tutor] parsing--is this right?

[Parsing RTF data:]
>Sean made a nice distinction between a parser and lexer. Derrick
>suggested I used a parser already written. In fact, I haven't
>been able to find a parser in python to parse rtf.

You may want to look at these references:

http://www.foretec.com/python/workshops/1998-11/tut_com.html
http://starship.python.net/crew/pirx/spam7/

There is a short RTF parser example in Python in the downloadable slideshow.


Cheers.

Alexandre