On Saturday 16 April 2005 03:11, runes wrote: > I trying to figure out a way to make a python script accept data output > from another process under Windows XP, but I fail miserably. I have a > vague memory having read this is not possible with Python under > Windows... > > C:\> type countlines.py | python countlines.py > Counted 3 lines.
Are you definitely doing this and not: C:\> type countlines.py | countlines.py That will give you the error you're seeing. The example you posted works for me.
pgpG1kLcMgQ3U.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list