如何把接口返回文件流读取后写入Excel
代码:
res = res.content #接口返回的内容 with open(path,mode='wb') as file: #excel的路径 file.write(res)
本文来自博客园,作者:他还在坚持嘛,转载请注明原文链接:他还在坚持嘛 https://www.cnblogs.com/brf-test/p/16889892.html
代码:
res = res.content #接口返回的内容 with open(path,mode='wb') as file: #excel的路径 file.write(res)
本文来自博客园,作者:他还在坚持嘛,转载请注明原文链接:他还在坚持嘛 https://www.cnblogs.com/brf-test/p/16889892.html