| 1 | initial version |
This is at least one possibility
$ sage -sh
$ jupyter bconvert --to='python' --output-dir=/tmp test1.ipynb
$ sage /tmp/test1.py
However, I am not sure how much the conversion is reliable. Why not storing your scripts as python files instead of notebooks?
| 2 | No.2 Revision |
This is at least one possibility
$ sage -sh
$ jupyter bconvert convert --to='python' --output-dir=/tmp test1.ipynb
$ sage /tmp/test1.py
However, I am not sure how much the conversion is reliable. Why not storing your scripts as python files instead of notebooks?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.