A Visual Studio Code extension that exports Jupyter Notebook as Python files.
Demo
Features
This extension provides a simple way to convert your Jupyter notebooks (.ipynb files) to Python scripts (.py files) directly from the VS Code interface:
Adds an "Export to Python" button in the notebook toolbar
Converts markdown cells to Python comments with # [markdown] markers
Creates Python files in the same directory as the original notebook
How to Use
Open a Jupyter notebook (.ipynb file) in VS Code
Click the "Export to Python" button in the notebook toolbar (you'll see it next to the run button)
The extension will create a Python file with the same name in the same directory
A notification will appear when the export is complete