output redirection with nt

Joe Smith JoeSmith at bogusaddress.com
Fri Aug 4 04:34:55 EDT 2000


instead of "xxx.py > out" try "python xxx.py > out".

Piet van Oostrum wrote:

> >>>>> Nils Naumann <nnau at gmx.net> (NN) writes:
>
> NN> Hallo,
> NN> why does'nt works output redirection if I'm starting a python script in
> NN> a win NT cmd window?  If I'm using a bash (cygnus) it works.
>
> Because NT (and other Windows' command interpreter) is broken. Output
> redirection doesn't work in a batch file nor when 'start xxx.py' is used.
> --
> Piet van Oostrum <piet at cs.uu.nl>
> URL: http://www.cs.uu.nl/~piet [PGP]
> Private email: P.van.Oostrum at hccnet.nl




More information about the Python-list mailing list