Skip to content

Convert .py files runnable in vscode to jupyter .ipynb notebooks and vice versa

Notifications You must be signed in to change notification settings

nojvek/vscode-ipynb-py-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-ipynb-py-convert

Jupyter plugin for vscode allows creating a python file with the ability to run cells using code lens and preview extension apis.

Lots more Jupyter python vscode examples

vscode-ipynb-py-convert python module converts ipynb->py and py->ipynb.

Example

python -m vscode-ipynb-py-convert examples/plot.py examples/plot.ipynb

or

python -m vscode-ipynb-py-convert examples/plot.ipynb examples/plot.py

VSCode

Markdown cells are converted to python multiline strings '''. Code cells are left as is. # %% is used by vscode as the cell marker on which 'Run Cell' action is available.

Jupyter ipynb notebook

About

Convert .py files runnable in vscode to jupyter .ipynb notebooks and vice versa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages