Steven D'Aprano wrote: > I think your question is malformed. You need to work out what behaviour > you actually want, before you can ask for help on how to get it.
It may or may not be malformed, but I understand the question. So let eme translate for you. How can he write arbitrary bytes ( 0x0 through 0xff) to stdout without having them mangled by encodings. It's a very simple question, really. Looks like Antoine Pitrou has answered this question quite nicely as well. -- http://mail.python.org/mailman/listinfo/python-list