2016年1月31日 星期日

[ipython] ipython notebook / jupyter 介紹--為什麼我要用

其實我的目的是,利用 ipython notebook / jupyter 當做多功能編輯器,取代 notepad++ 或是 word。

在安裝 anaconda 之後,不論在命令列是執行 ipython notebook,或是執行 jupyter notebook,都會成出現同一個畫面:
已經是 jupyter 了。所以原來的 ipython notebook 畫面,我現在用不出來。
圖片來自 http://ipython.org/notebook.html

但是,由以下的 demo 還是可以體會到 ipython notebook / jupyter notebook的魅力。


與 jupyter notebook 的畫面比較,似乎沒有太大差別。

要提一下的是,ipython 是一件事,ipython notebook 是另外一件事。ipython 是提升 python 的互動性的介面,所以叫 ipython (interactive python)。而 ipython notebook 則是一個 web app 讓使用 python介紹、呈現資料、計算更為活潑即時,而它的確建立在 ipython 之上。

jupyter 與 jupyter notebook 也差不多是兩件事,jupyter 有他偉大的計劃, 希望能讓其他的語言也能 ipython notebook 達到的效果。而 jupyter notebook 則是目前執行出這個 web app 的指令。

而目前,我剛好就只需要用到 ipython notebook 的功能,而現在它屬於 jupyter notebook 其中一個項目之中。為什麼還要換 ipython notebook 呢?因為網路上用 ipython notebook 當關鍵字搜尋到的非官方資源還是佔多數,若是要自己多學就還是要知道 ipython notebook 與 jupyter notebook 的關係。
例如:在 google 輸入 jupyter notebook latex,出來第一個還是:

連 google 都知道要用 ipython notebook 會是比較對的結果,當我們知道它們的關係,就不會直接跳過它,而會點進去看。

如果說想深一點了解我想做什麼的話,我用一個網頁來代表:http://hplgit.github.io/doconce/doc/pub/slides/scientific_writing-1.html
雖然文章主打不是 ipython notebook。

參考:
http://ipython.org/notebook.html

沒有留言:

張貼留言