using python with -c (as a inline execution in shell)
FBatista at uniFON.com.ar
Tue Nov 16 17:23:53 CET 2004
[les_ander at yahoo.com]
#- but suppose I want to read from the stdin (piped) i don't
#- know how to do this since
#- python -c "from sys import stdin; for x in stdin: print x"
#- gives a syntax error.
#- Anyone one know how to do this?
What are you trying to achieve? Are you sure this is the best way?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list