Mar 12, 2014

Stdout UTF8 in Python3

import codecs
import sys
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())

No comments:

Post a Comment

New comment