nbformatEasy Playground

Read, write, and manipulate Jupyter notebook files (.ipynb)

Getting started with nbformatRun locally
Install
pip install nbformat
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: nbformat)

nbformat is a third-party package. Read, write, and manipulate Jupyter notebook files (.ipynb). Install with: pip install nbformat

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?