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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章