2017-08-26 53 views
-2
from dropbox.client import DropboxOAuth2FlowNoRedirect 

from dropbox.client import DropboxClient 
+0

'DropboxOAuth2FlowNoRedirect'在新行吗? –

回答

0

尝试使用:

# Include the Dropbox SDK 
import dropbox 

# Get your app key and secret from the Dropbox developer website 
app_key = 'INSERT_APP_KEY' 
app_secret = 'INSERT_APP_SECRET' 

flow = dropbox.client.DropboxOAuth2FlowNoRedirect(app_key, app_secret) 

有些项目不能自行进口。

相关问题