in reply to Capture Error Messages to a File? How?
Run your script within the Emacs shell.
In Emacs, type the command:
M-x shell
(See the docs for shell-specific hotkeys.)
This technique makes it easier not only to view the results, but also to kill/paste the results between other files.