Answers for "how to open a file in utf 8 python 2.7"

7

python open encoding utf-8

from io import open
f = open("test", mode="r", encoding="utf-8")
Posted by: Guest on November-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language