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

沒有留言:

如何下載Facebook 相簿跟影片

影片:透過chrome plug-in : Video Downloader for Facebook<sup>TM</sup> 相簿: 透過chrome plug-in : Tampermonkey 搭配script : Facebo...