Converting Python files to notebooks

Jan 9, 2017

Python Notebooks?

I commonly get requests from end users to convert quantitative models into Python Notebooks for others to perform testing on. This become tedious so here is a brief script to perform the operation:

This script relies on the nbformat library. You can install this with the following command in your terminal (pip required):

pip install nbformat