Improving my text processing script

pruebauno at latinmail.com pruebauno at latinmail.com
Thu Sep 1 16:55:05 EDT 2005


pruebauno at latinmail.com wrote:
> Paul McGuire wrote:
> > match...), this program has quite a few holes.

> tried run it though and it is not working for me. The following code
> runs but prints nothing at all:
>
> import pyparsing as prs
>
And this is the point where I have to post the real stuff because your
code works with the example i posted and not with the real thing. The
identifier I am interested in is (if I understood the the requirements
correctly) the one after the "title with the stars"

So here is the "real" data for tlst some info replaced with z to
protect privacy:

*****************************************************************************


   Identifier "zzz0main"


*****************************************************************************


   Identifier "zz501"


         Value "zzz_CLCL_zzzz,zzzzzz_ID"


         Name "zzzzz"


         Name "zzzzzz"


*****************************************************************************


   Identifier "zzzz3main"


*****************************************************************************


   Identifier "zzz505"


         Value "dba.zzz_CKPY_zzzz_SUM"


         Name "xxx_xxx_xxx_DT"


    ----------------------------------


         Value "zzz_zzzz_zzz_zzz"


         Name "zzz_zz_zzz"


    ----------------------------------


         Value "zzz_zzz_zzz_HIST"


         Name "zzz_zzz"


    ----------------------------------





More information about the Python-list mailing list