Mac: Automator.app で Jupyter lab を開くアプリを作ったメモ
ターミナルを開いて、"jupyter lab" と打ち込むだけの作業が嫌だったので、Autometer でアプリにした。
手順
- Automator を開く
- 新規→アプリケーション
- 「Applescript を実行」を選択
- 下記に書いたコードを打ち込む
- jupyter-lab.app など名前をつける
tell application "Terminal" do script "cd && jupyter lab" end tell
〜完〜
お好みで、アイコンに Jupyter Lab のロゴなどを設定しましょう。