python_bug

with open('test.txt','r',encoding='utf8') as f:

Exception:'encoding' is an invalid keyword argument for this function

Reason:'encoding' is not suitable to run on the python 2.X 

posted on 2016-12-05 16:35  BruceSue  阅读(174)  评论(0编辑  收藏  举报

导航