https://bbs.csdn.net/topics/604235079
with open(a,'a') as a:
a.write(f'\n{zl[2]}')
with open(a,'rb') as a:
a=list(a.read)
改成下面这个, 不要把a的值改变
with open(a,'a') as f1:
f1.write(f'\n{zl[2]}')
with open(a,'rb') as f2:
a_1=list(f2.read)
TypeError: expected str, bytes or os.PathLike object, not TextIOWrapper
类型有问题 a str一下