On Tue, Oct 14, 2008 at 4:15 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Frédéric wrote:
>>>> In several places, instead of having my application name, I get '-c'.
>> This could be a result of the app having got launched
> via 'python -c' somewhere along the way:
>> % python -c 'import sys; print sys.argv[0]'
> -c
>> Not sure whether to regard this as a bug or not. It's
> not clear what the app name *should* be when you use
> -c. What do the python-dev folks think?
It is a feature. I chose to set it to '-c' because there is no other
appropriate string to use.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)