> After your reply, I went back and > discovered that everything was actually working fine with 'global' > in place <snip>
Oops, I lied. It still doesn't work. It doesn't seem possible (or at least not easy) to *globally* override the built-in print function. The best I've managed to do is override it for the current module. Think I'll start a new post with the subject: "Globally override built-in print function?" -- http://mail.python.org/mailman/listinfo/python-list