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" &
done
沒有留言:
張貼留言