Python Dropbox Uploader can be used to upload files to your Dropbox from computers that may not have Dropbox installed (like webservers). This script is similar to the PHP Dropbox Uploader, but in Python.
There is an example Python program included in the repository. Here’s the basic usage.
Import the upload_file function from the package:
from dbupload import upload_file
Call it with the proper parameters:
That’s it. The file should be uploaded to the location specified in your Dropbox.