Answers for "how to read unicode in python"

0

how to read unicode in python

import codecs
with codecs.open('unicode.rst', encoding='utf-8') as f:
    for line in f:
        print repr(line)
Posted by: Guest on July-16-2021

Python Answers by Framework

Browse Popular Code Answers by Language