Hi!I'm new in Python and i'd like to ask some general questions about
stdin,stdout...
Firstly...
if we type like something like :
cat "file.txt"|python somefile.py
#somefile.py
import sys
text=sys.stdin.read()
...then "sys.stdin.read()" will read from "cat"s stdout...
However,if i
thank you very much for your help...
my big mistake,was to believe that "|" is the pipe symbol for both,unix and
python...
it is really annoying,how such a simple thing can mess things
Thank you for clearing this out.
_
Free bloggin