[Python-3000] Does Py3k's print offer any unicode encoding help?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 15 03:11:21 CET 2008


skip at pobox.com wrote:

> How about being able to reopen() an open file object, e.g.:
> 
>     print(..., file=sys.stdout.reopen(encoding="utf-8")

But reopening implies a lot more than just changing the
encoding.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list