AttributeError: tuple' object has no attribute 'write'"

原因分析:元组对象没有写的属性,简单来说元组是不可变对象

解决方式:可以尝试把元组换成列表

原文地址:https://www.cnblogs.com/xiaozhougogo/p/7723345.html