Hi Larry, I mentioned how I am already using "sys.excepthook" in my initial posting. What I'm looking for is: 1) Is there any better way of solving the problem than setting sys.excepthook in sitecustomize.py? 2) Or is there a better way of detecting when I am running a .cmd based script than the method I proposed? Hope this clears up what I'm asking for. Thanks, Giles
-- http://mail.python.org/mailman/listinfo/python-list