Re: pyparsing batch file

2007-10-20 Thread Fabian Braennstroem
Hi Paul, Paul McGuire wrote: > On Oct 17, 4:47 pm, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > >> Unfortunately, it does not parse the whole file names with >> the underscore and I do not know yet, how I can access the >> line with 'define/boundary-conditions'. Every 'argument' of >> that c

Re: pyparsing batch file

2007-10-17 Thread Paul McGuire
On Oct 17, 4:47 pm, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Unfortunately, it does not parse the whole file names with > the underscore and I do not know yet, how I can access the > line with 'define/boundary-conditions'. Every 'argument' of > that command should become a separate python

pyparsing batch file

2007-10-17 Thread Fabian Braennstroem
Hi, me again :-) I would like to parse a small batch file: file/read-case kepstop.cas file/read-data keps1500.dat solve/monitors/residual/plot no solve/monitors/residual/print yes /define/boundary-conditions in velocity-inlet 10 0.1 0.1 no 1 it 500 wd keps1500_500.dat yes exit Right now, I use