Board logo

標題: jupyter notebook有無高效少少的開發方法? [打印本頁]

作者: 3ldk    時間: 2019-1-24 23:53     標題: jupyter notebook有無高效少少的開發方法?

用jupyter notebook開發, 唔識自動highlight其他同你highlight左一樣既字, 又唔識jump to declaration
所以開發好無效率, 有無方法改善?
作者: omg9394    時間: 2019-2-6 11:24

jupyter似係方便你做display多過方便你coding

如果要coding friendly,試下spyder,到要display先係jupyter到call返你寫好既program(問題係無得係jupyter修改) 或 copy source code 去 jupyter執行(問題係分成2個versions無得同步)

要同時解決coding, sync, edit&display in jupyter, 覺得唯一方法係做自己寫一個轉換, 即係executable python code *.py <---> *.ipynb, 咁就可以coding outside from jupyter & edit and display inside jupyter & sync both into only one version

咁做既問題係寫呢個轉換可能相當費時(視乎你programming能力), 而且ipython專用code要特別處理否則python會當成error, 例如magic word such as %matplotlib inline





歡迎光臨 電腦領域 HKEPC Hardware (https://h1.hkepc.com/forum/) Powered by Discuz! 7.2