Hi! I wanna write a file processor in python (Windows XP). I wanna use pipe, and not parameters.
When I write this:
...
l = []
while 1:
t = sys.stdin.read(1)
if t == '':
break
l.append(t)
t = "".join(l)
...
and use code this:
process.py <test.txt
I got:
"Bad file descriptor"
What I do wrong? I need to call this module in another format?
Or I read in wrong way?
Thanks for your help:
dd
--
http://mail.python.org/mailman/listinfo/python-list
