code: def get_google_drive_folder_location():
      
      gdrive_db_path = 'Library/Application Support/Google/Drive/sync_config.db'
      yosemite_gdrive_db_path = ('Library/Application Support/Google/Drive/'
                                 'user_default/sync_config.db')
      yosemite_gdrive_db = os.path.join(os.environ['HOME'],
                                        yosemite_gdrive_db_path)
      if os.path.isfile(yosemite_gdrive_db):
          gdrive_db_path = yosemite_gdrive_db
  
      googledrive_home = None
  
      gdrive_db = os.path.join(os.environ['HOME'], gdrive_db_path)
      if os.path.isfile(gdrive_db):
          con = sqlite3.connect(gdrive_db)
          if con:
              cur = con.cursor()
              query = ("SELECT data_value "
                       "FROM data "
                       "WHERE entry_key = 'local_sync_root_path';")
              cur.execute(query)
              data = cur.fetchone()
              googledrive_home = str(data[0])
              con.close()
  
      if not googledrive_home:
          error("Unable to find your Google Drive install =(")
  
      return googledrive_home
docs: Try to locate the Google Drive folder.
  
      Returns:
          (str) Full path to the current Google Drive folder