Python Forum
how to connect and read fiels from dropbox using Python3.6?
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to connect and read fiels from dropbox using Python3.6?
#1
Hi ALl,

Has anyone connected with the dropbox using Python3.6?

I am trying to first connect with the drobox and then I need to read some csv files from there.
For that I have written a helper class which have functions-connect,read etc.

I have read the api v2 doc api v2 drobox doc

But couldn't find the way to achieve my goal.Below is my code snippet for this but it is not complete and need your help-

class DropBoxHelper(object):
    def connect_to_dropbox(self):
        config = configparser.ConfigParser()
        config.read(os.path.abspath(os.pardir) + '/config.ini')
        app_key = config['DROPBOX']['KEY']
        app_secret = config['DROPBOX']['SECRET']
        access_type = "dropbox"
        session = dropbox.Dropbox(app_key)

if __name__ == '__main__':
    DropBoxHelper.connect_to_dropbox(object)
Can anyone please look into this and share me how to complete this?
Reply


Messages In This Thread
how to connect and read fiels from dropbox using Python3.6? - by PrateekG - Jul-10-2018, 04:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to ignore "Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=None))" const 3 4,296 Mar-26-2022, 08:55 AM
Last Post: ndc85430
  Python3: how to read binary? alexel 0 1,992 Feb-03-2020, 09:18 PM
Last Post: alexel
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 6,099 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE
  Connect to SFTP to read cvs files arunlal 1 3,626 Nov-20-2018, 08:32 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020