cmdline args to a piped python prog
leo
halloleo at noospaam.myrealbox.com
Wed Mar 10 01:48:26 EST 2004
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.
More information about the Python-list
mailing list