2016年6月23日 星期四

[Mac] how to open Jupiter notebook (ipython notebook) by one click

1. Install a simple command tool ‘nbopen'

  GitHub: https://github.com/takluyver/nbopen

# pip install nbopen

 

2.Use Mac Automator  to make a simple Mac Application

a. open Automator to make a application, which will execute a shell script.  It will pass all file parameter as input parameter

b.for loop to execute nbopen   Jupiter notebook

#Please make sure you can find nbopen in your terminate, if you encounter problem, you can try to give a full path of nbopen ().

## Here is the example on my laptop
for f in "$@"
do
/usr/local/bin/nbopen "$f" &
doneNewImage

沒有留言:

demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...