dropbox

Get Dropbox folder path in Python

Get Dropbox folder path in Python Question: I need to know the local Dropbox path in any machine (mac or windows) whereever is this file (might be in a seconcary hard drive) and whatever is its name (might be ‘E:My_funny_dropbox’). I’m using the dropbox API. In the Dropbox website, I’ve set a token to grant …

Total answers: 2

How do you get and use a Refresh Token for the Dropbox API (Python 3.x)

How do you get and use a Refresh Token for the Dropbox API (Python 3.x) Question: As the title says, I am trying to generate a refresh token, and then I would like to use the refresh token to get short lived Access tokens. There is a problem though, in that I’m not smart enough …

Total answers: 3

Determine if folder or file using Dropbox Python API

Determine if folder or file using Dropbox Python API Question: I am trying to use the Dropbox API v2 to get a list of all folders and all files, and view the metadata associated with each. I have been able to make it list all files and folders in my Dropbox root, and return the …

Total answers: 3

How to list all files and folders in my dropbox using v2 api

How to list all files and folders in my dropbox using v2 api Question: I am using Python SDK and would like to retrieve all of my dropbox files and folders. I am using v2 of Python SDK of Dropbox. dbx = Dropbox(“DROBOX_ACCESS_TOKEN”) response = dbx.files_list_folder(“/Apps/Marketing”) for file in response.entries: print file.name However, I get …

Total answers: 3

upload file to my dropbox from python script

upload file to my dropbox from python script Question: I want to upload a file from my python script to my dropbox account automatically. I can’t find anyway to do this with just a user/pass. Everything I see in the Dropbox SDK is related to an app having user interaction. I just want to do …

Total answers: 10

How does Dropbox use Python on Windows and OS X?

How does Dropbox use Python on Windows and OS X? Question: In Windows the Dropbox client uses python25.dll and the MS C runtime libraries (msvcp71.dll, etc). On OS X the Python code is compiled bytecode (pyc). My guess is they are using a common library they have written then just have to use different hooks …

Total answers: 6