On Wed, Nov 13, 2013 at 7:22 AM, Isaac Gerg <isaac.g...@gergltd.com> wrote: > Thanks for the reply Bill. The problem is the text i am getting is from a > python warning message, not one of my own print() function calls.
Since sys.stdout is just an object, you could replace it with something that redirects its write() calls to the logging function. Might be a bit hacky, but it should work. BTW, "sys.executable.find('pythonw') >=0" should be able to be spelled "'pythonw' in sys.executable". ChrisA -- https://mail.python.org/mailman/listinfo/python-list