I'd suggest allowing multiple -c and -e options, interspersed as
On 29 December 2010 14:46, Michael Foord <firstname.lastname@example.org
> That would be great. I did worry that changing the output would be backwards
> incompatible with code that shells out to Python using "-c", so a different
> command line option would be great. So long as it works with multiple
> statements (semi-colon separated) like the current "-c" behaviour.
> I use this trick for finding the source code of Python modules:
> $ python -c "import os;print os.__file__[:-1]"