redirecting stdout from NT

Gordon McMillan gmcm at hypernet.com
Tue Mar 7 17:06:14 EST 2000


Michael O'Brien wrote:


> Trying to pipe this thru more I get:
> 
>     E:\users\mobrien\test>t001.py | more
> 
>     E:\users\mobrien\test>
> 
> This is really a problem when I want to redirect the output to a file (using
> >). The file is ends up empty. I'm running NT 4 sp 4. The python version is:

Use "python t001.py | more". Windows can't execute through 
a file association and chew gum at the same time.

- Gordon




More information about the Python-list mailing list