script to extract parts of .ipynb into a python file