On Saturday 16 April 2005 03:43, runes wrote:

> type countlines.py | python countlines.py = Success
> type countlines.py | countlines.py = Failure
>
> Why doesn't the latter work?

Don't quote me on this, but I think it's because invoking countlines.py 
involves running some sort of wrapper that discards its stdin and stdout.

If anyone has a more authorative answer, I'd like to know, because this caught 
me out too.

james.

Attachment: pgp0UPpjLSwGF.pgp
Description: PGP signature

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

Reply via email to