How do I convert a IPython Notebook into a Python file via commandline?

问题:

I'm looking at using the *.ipynb files as the source of truth and programmatically 'compiling' them into .py files for scheduled jobs/tasks.我正在考虑使用*.ipynb文件作为事实来源,并以编程方式将它们“编译”成用于计划作业/任务的 .py 文件。

The only way I understand to do this is via the GUI.我理解的唯一方法是通过 GUI。 Is there a way to do it via command line?有没有办法通过命令行来做到这一点?


解决方案:

参考一: https://en.stackoom.com/question/19edS
参考二: https://stackoom.com/question/19edS
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章