difference between invocation of python script on unix and microsoft?

Tim Ottinger tottinge at concentric.net
Tue Dec 21 09:08:08 EST 1999


On Wed, 8 Dec 1999 17:46:51 +0100, Roberto Lupi
<Roberto.Lupi at ascu.unian.it> wrote:
>However, you can't invoke it with I/O redirection, like this:
>    cat < myfile.txt
>    cat myfile.txt | more
>
>although it looks like you should be able to (this is a limitation of 
>Windows NT). Your script can be in your path or you can provide a path to 
>the file.

I've found this to be true also. I've taken to creating a .bat file to
run my .py file, and that works just fine. I hate doing it, and would
rather have it work correctly, though.

Do the alternative command lines work better? 

Tim



More information about the Python-list mailing list