[Zope-dev] RE: python.exe vs pythonw.exe difference?

Tim Peters tim at zope.com
Tue Mar 2 21:25:27 EST 2004


[Emile van Sebille]
> ...
> At this point, I won't be back to that site before next week, although
> I may take some time to test this weekend.  It sounds like I should
> rework any areas that spew output to the console.  Is there something
> better than checking os.path.basename(sys.executable)?

You could use the logging module all the time instead of trying to make the
destination conditional on the executable name.  Bad errors should probably
be reported to the Windows Event Log service too; doing a serious job of
making a thing a Windows Service is painful.




More information about the Zope-Dev mailing list