How can I view an exported DBC notebook in my computer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2015 09:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2015 10:05 AM
Hi @n-riesco - Right now you can export the source code to your computer. Navigate to the file you want > click the down caret > export. This will be in .py, .scala, or .sql format.
Databricks also has GitHub integration for source code version control. To access this within a notebook click "Revision History" on the top right corner.
Also, Databricks is looking to add the ability to export to .ipynb format in coming releases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2015 10:07 AM
Additionally, if you export a directory and/or file you can extract the JSON by using the unzip command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 05:08 AM
Is there any way to convert a DBC archive to code (py or ipynb) offline? Someone sent me a dbc file and I'd like to take a look at the code. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 05:10 AM
VSCode offers an extension called DBC Language Syntax. You will need to configure a connection to a running Databricks cluster. Microsoft offers you the first 200 hours free on Azure. It may be enough to get you started. The "DBC Language Syntax" will open the file, but it will first look for the connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 09:07 AM
You can rename somefile.dbc to somefile.zip and open it with the Windows File Explorer, however the .python files cannot be opened in vscode or pycharm

