def wrapwrite(text):
    text = text.encode('utf-8')
    try:  # Python3
        sys.stdout.buffer.write(text)
    except __HOLE__:
        sys.stdout.write(text)
dataset/ETHPy150Open lsaffre/lino/lino/utils/html2text.py/wrapwrite