file = open(filename,'a',encoding='utf8')#指定写入编码为utf8,否则写入中文会乱码
贡献者
分享
程序员永峰
这家伙很懒,只想把你留下。
该资源仅限VIP专享下载