Hi,
I have a simple python script to write a file to Dropbox. The issue I'm having is this only seems to give me access to my user area and I need to write the file to the team area. I have read documentation but am struggling to find any simple examples using the python API.
Thanks
Matt
import dropbox
access_token = '*************************************'
file_from = 'test.txt'
file_to = '/test_dropbox/test.txt'
dbx = dropbox.Dropbox(access_token)
with open(file_from, 'rb') as f:
dbx.files_upload(f.read(), file_to)