Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to download a file from the box using Box API for Python

Answered
New post

Comments

1 comment

  • mwiller

     There are two primary methods available for downloading a file:

     

    file.content()  # returns the file contents as `bytes`
    file.download_to(writeable_stream)  # write the file contents to a stream

    Depending on what you want to do with the file contents, one of these should work for you.

    0
    Comment actions Permalink

Please sign in to leave a comment.