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
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