"steve" <st...@nospam.au> wrote in message news:4a728aac$0$9744$5a62a...@per-qv1-newsreader-01.iinet.net.au... > Is there a good way to check if a script is running inside Pythonwin? > Perhaps a property or method that is exposed by that environment? > > or, alternatively, is there a better place to ask :-) > > Steven >
> 'pywin' in sys.modules Didn't want to check for redirection because my redirection code is in a different thread, and I'd have to think about thread synchronization as well. Thanks guys, Steven -- http://mail.python.org/mailman/listinfo/python-list