BartlebyScrivener wrote:
> Hello,
>
> I'm sure this is my fault or some Windows snafu. But using gvim 7.0 on

It's a bug in Windows. Try doing "sort.py < test.txt" from the command
line, and you'll get the same error. Try "python sort.py < test.txt"
and it should work fine. Apparently cmd.exe can't pick up the
registered file extensions.

> I'm sending standard text with the vim command :%!sort.py

You'll have to use :%!python sort.py to get the filter to work.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to