Well, here's the first page turned up by google for the terms 'python binary stdout': http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65443
Code from that page: import sys if sys.platform == "win32": import os, msvcrt msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) Thanks, Google & the Python Cookbook website! Jeff
pgponre4gehsj.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list