On Apr 25, 9:02 pm, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Apr 24, 12:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
>
>
>
> > Someone normally chimes in with pyparsing at this point...
>
> Well it *is* a short pyparsing routine, after all...
>
> -- Someone
>
> tests = """\
> ("." ".." "cd
On Apr 24, 12:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
>
> Someone normally chimes in with pyparsing at this point...
>
Well it *is* a short pyparsing routine, after all...
-- Someone
tests = """\
("." ".." "cdslib_cleanup.py" "cadence.py"
"cdsinit_cdsenv_cleanup.py")
("." ("cadence.p
rh0dium <[EMAIL PROTECTED]> wrote:
> I am using pexpect to drive another tool. Some of the data I get back
> would be better suited as a list and I want to know a simple way to
> parse the data to push it into a list.
>
> For example
>
> I get the following string back. I want to convert t
Hi all,
I am using pexpect to drive another tool. Some of the data I get back
would be better suited as a list and I want to know a simple way to
parse the data to push it into a list.
For example
I get the following string back. I want to convert this to a list:
'("." ".." "cdslib_cleanup.py