On Jul 31, 2:09 am, "steve" <st...@nospam.au> wrote:
> 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?

I've used
  if sys.stdin.fileno() < 0:
This is not precisely a test for pythonwin, but indicates whether
standard streams are available, which is usually what I really
want to know.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to