| Store | Cart

cmdline args to a piped python prog

From: leo <hall...@noospaam.myrealbox.com>
Wed, 10 Mar 2004 17:48:26 +1100
hi there

a python file can evaluate cmdline arguments like

python myprog.py arg1 arg2 arg3...

when i feed python with my program via terminal input like

cat myprog.py | python

how can i then specifiy the cmdline arguments arg1 arg2 arg3...?

thanks a lot, leo

ps: wondering why i ask? -- emacs calls python code from abuffer always in
the latter way.

Recent Messages in this Thread
leo Mar 10, 2004 06:48 am
Piet van Oostrum Mar 10, 2004 10:48 am
leo Mar 10, 2004 11:19 pm
Messages in this thread