擅长:python、mysql、java
<p>假设您的授权是正确的,您可以通过在现有代码中添加几行代码来下载文件。
这将把数据从box文件复制到本地文件,文件名为FileFromBox.xlx</p>
<pre><code>with open('FileFromBox.xls', 'wb') as open_file:
client.file('FileId_of_box_file').download_to(open_file)
open_file.close()
</code></pre>