if _system in ('Windows', 'cli'):
    host_db_path = os.path.join(_get_appdata_path(), 'Dropbox', 'host.db')
elif _system in ('Linux', 'Darwin'):
    host_db_path = os.path.expanduser('~/.dropbox/host.db')
else:
    raise RuntimeError('Unknown system={}'.format(_system))
if not os.path.exists(host_db_path):
    raise RuntimeError("Config path={} doesn't exists".format(host_db_path))
with open(host_db_path, 'r') as f:
    data = f.read().split()
return base64.b64decode(data[1])
Как я могу программно получить расположение папки Dropbox в Python?