Thanks Paul, this looks like just what I need to reformat PRECESS's
output into what I need.
Thanks,
Jerry
Paul McGuire wrote:
Instead of trying to match on the weird characters, in order to remove them,
here is a pyparsing program that ignores those header lines and just
extracts the interest
Instead of trying to match on the weird characters, in order to remove them,
here is a pyparsing program that ignores those header lines and just
extracts the interesting data for each section.
In a pyparsing program, you start by defining what patterns you want to look
for. This is similar to th
Kent Johnson wrote:
On Mon, Sep 8, 2008 at 2:46 AM, J. Van Brimmer <[EMAIL PROTECTED]> wrote:
I have a legacy program at work that outputs a text file with this header:
ÉÍÍ»
º Radio Source Precession Program º
º by J
On Mon, Sep 8, 2008 at 2:46 AM, J. Van Brimmer <[EMAIL PROTECTED]> wrote:
> I have a legacy program at work that outputs a text file with this header:
>
> ÉÍÍ»
> º Radio Source Precession Program º
> º by John B. Doe º
> º
I have a legacy program at work that outputs a text file with this header:
ÉÍÍ»
º Radio Source Precession Program º
º by John B. Doe º
º 31 August 1992 º
ÈÍÍÍ