Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (20 sloc) 631 Bytes
layout title permalink tags categories
post
Converting Python files to notebooks
python-file-to-notebooks
python
notebooks
python

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:

{% gist 7af8084a3065f321368c49717901373e %}

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

pip install nbformat