Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 03:15 AM
You can do so by running the snippet below, which uses the new [databricks python SDK](https://github.com/databricks/databricks-sdk-py/😞
Install the package:
`pip install databricks-sdk`
Python snippet:
```python
from databricks.sdk import WorkspaceClient
# Remember to change the arguments below
w_client = WorkspaceClient(host="my_host", token="my_db_tokens")
# add an absolute path
dbfs_path_exist = w_client.dbfs.exists('/dbfs_my_path')
```
Hope it helps 🙂
Databricks SDK for Python (Beta). Contribute to databricks/databricks-sdk-py development by creating an account on GitHub.