reading piped input in Windows

Patrick Useldinger p at trick.lu
Sat Nov 15 14:47:24 EST 2003


OK, I should have googled in the first place :-(

For those who wondered, it doesn't work if you have .py extentions
associated with python.exe and just type t1 ¦ p2.

What works is 

1- to have a py.cmd which calls python.exe, and then type "py t1.py ¦ py
t2.py", 

2- or probably also "python t1.py ¦ python t2.py" if python.exe is in
your path (I didn't check this).

-PU




More information about the Python-list mailing list