[Python-bugs-list] stdin and arguments (PR#78)

frido@nl.euro.net frido@nl.euro.net
Sun, 12 Sep 1999 11:57:13 -0400 (EDT)


Hi,

When using python to pipe some source code like so:

cat test.py | python - foo bar

it doesn't give the arguments foo and bar too test.py but thinks
it is another source file, resulting in a file not found error.

What I would like to do is pipe it over a ssh connection + a pickled/base64 
obkject as an argument to do pseudo RPC stuf .


Thank you for your time,
                                   .
                                  *
 Frido Ferdinand                ***             EuroNet Internet BV
 Implementation Team         .*******'          Herengracht 208 - 214
 frido@nl.euro.net             ** **            1016 BS Amsterdam
                             .*     *.          T: +31 20 5355555