Mac: Automator.app で Jupyter lab を開くアプリを作ったメモ

ターミナルを開いて、"jupyter lab" と打ち込むだけの作業が嫌だったので、Autometer でアプリにした。

手順

  1. Automator を開く
  2. 新規→アプリケーション
  3. Applescript を実行」を選択
  4. 下記に書いたコードを打ち込む
  5. jupyter-lab.app など名前をつける
tell application "Terminal"
     do script "cd && jupyter lab"
end tell

〜完〜

お好みで、アイコンに Jupyter Lab のロゴなどを設定しましょう。