[Python-Dev] [pygtk] Application name is '-c'
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Oct 15 01:15:06 CEST 2008
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?
--
Greg
More information about the Python-Dev
mailing list