Phillip J. Eby wrote: > Hell, I'm not sure Windows even > has a way to *tell* whether your app was launched from the command line > or otherwise. It wouldn't have to, if the .py extension were bound to a different executable from the standard command line interpreter, in the same way that .pyw is bound to the pythonw executable. -- Greg