here document as script and read from stdin

Robin Becker robin at SPAMREMOVEjessikat.fsnet.co.uk
Tue Apr 20 17:32:14 EDT 2004


Is it possible to use python with a shell HERE document as the script 
and read the standard input? In other words make python usable as a 
filter with a side input?

It doesn't seem to be obvous unless I can somehow use the -c option.
-- 
Robin Becker



More information about the Python-list mailing list