Win98 PySol problem

Bill Melcher wpmelcher at snet.net
Mon Nov 26 19:21:51 EST 2001


"Neil Hodgson" <nhodgson at bigpond.net.au> wrote in message
news:tTyM7.376657$bY5.1619445 at news-server.bigpond.net.au...
> Bill Melcher:
>
>    Standard error can be captured on Windows 2000 with 2>:
> python --help 2> p.txt
>    and should be passable through more with 2|:
> python --help 2| more
>    although the output is too short to see it happen.
>
>    This worked on some earlier versions of Windows but unsure which or how
> well.

Doesn't work for me. The --help option causes an error (-h works fine) but
the usage stuff comes out OK but will not redirect or pipe.  Apparently
Python console output is directed to stderr which will not redirect - I'm
talking version 2.1.1.  The Traceback errors also are sent to stderr.  There
are, however, some error messages I get that look as though they come from
PySol that are sent to stdout, these do redirect and pipe OK.

>    One of the more recent features of my SciTE editor
> (http://www.scintilla.org/SciTE.html) is to allow typing command lines
into
> the output pane making it easy to retrieve the combined text from the
output
> and error streams. It can't handle running interactive scripts, though.
Yet.

I'm waiting! :-) -- In the mean time I have downloaded the three windows
packages and will play a bit with them.

--
Cheers, Bill
TANSTAAFL!






More information about the Python-list mailing list