... is now recommended and is compatible with Python 3's open syntax: ... import io with io.open(filename,'r',encoding='utf8') as f: text ...
確定! 回上一頁