AttributeError: tuple' object has no attribute 'write'" 原因分析:元组对象没有写的属性,简单来说元组是不可变对象 解决方式:可以尝试把元组换成列表 ...