python学习记 TypeError: __init__() got an unexpected keyword argument 'encoding'----python3如何解决?解决方法 TypeError: init() got an unexpected keyword argument ‘encoding’----python3如何解决? 解决方法 对于python3来说,删除encoding即可