Export a stata_kernel Jupyter notebook to a Stata .do file
Basics copied from nbdev
https://github.com/fastai/nbdev/blob/master/nbs/00_export.ipynb
from nbdev.export import notebook2script; notebook2script()
https://github.com/fastai/nbdev/blob/master/nbs/00_export.ipynb
from nbdev.export import notebook2script; notebook2script()