在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sklam/py2nb开源软件地址:https://github.com/sklam/py2nb开源编程语言:Python 100.0%开源软件介绍:Warning: This is unmaintainedI do not have the bandwidth to maintain this project. If you are interested, please feel free to fork and modify. PY2NB: Python To Notebook ConverterThis is a small utility for turning python scripts into jupyter notebooks and convert module-level multiline (triple quote) string literals into markdown cells. Why?I wanted a tool to create user examples that can be executed as normal python scripts so that they can be copy-and-pasted easily and can be rendered as notebook for better readability (e.g nice styling, results embedded). Also,
Installpython setup.py install UsageTo convert a python script into a notebook: python -m py2nb input.py output.ipynb Additional commandline not from this packageExecute a notebook: ipython nbconvert --to=notebook --execute input.ipynb Convert a notebook to a HTML: ipython nbconvert --to=html input.ipynb SamplesSee "samples" directory. How?Uses python License: BSD 3 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论