On Aug 22, 10:03 pm, Matimus <[EMAIL PROTECTED]> wrote: > > Do we have python one-liner like perl one-liner 'perl -e'?? > > The answer is python -c... > > but python -h is useful too. > > Matt
And Python is not optimised for one-liner solutions. I have been known to construct multi-line -c arguments using the bash shell on Unix (as bash supports multi-line quotes), but creating and then deleting a temporary file saves me from 'quoting hell'. - Paddy. -- http://mail.python.org/mailman/listinfo/python-list