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

[API] Upload files in Python

New post

Comments

5 comments

  • spgoel

    bump

    0
    Comment actions Permalink
  • KS7315

    It is solved. Thank you very much

    0
    Comment actions Permalink
  • a_rodz

     Can you share how you solved the issue you were having? Thank you.

    0
    Comment actions Permalink
  • Box Product Support

    The input tag with the file type creates a "Browse" button.

    0
    Comment actions Permalink
  • vibhu1997
    user_id = '111111111' #whatever your user id is
    user = client.user(user_id)
    box_file = client.as_user(user).folder(folder_id).upload(file_path, file_name)
    

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.