Connecting to File Data

Overview

Files are a common way to store data. On the davinci platform, there are multiple ways to connect to file data.

Reading File Data in Python

Data that resides in files can easily be imported and analyzed with Python.

import json with open(file_path, 'r', encoding='utf-8') as f: data = json.load(f)

File Data in the Browser

Due to the security restrictions in the browser, data that resides in files must be uploaded and embedded into anything you do in the Brower.

Davinci VSCode Extension

When using a Python Environment, the davinci extension will watch the data folder within the environment. Files within the folder will be listed as data in the davinci extension navigation tree.