double click to open an ipython notebook

纵饮孤独 提交于 2019-11-28 07:22:51

You can use a project like nbopen that handle that and will open the browser on the right notebook + start an IPython server if one is not yet running.

  1. pip install (nbopen).
  2. open Automator, create new Application - Add Run Shell Script (/bin/bash), Change Pass Input 'as arguments' - use this script:

    #!/bin/sh variable="'$1'" the_script='tell application "terminal" to do script "nbopen ' osascript -e "${the_script}${variable}\""

    1. copy the new application to "/Applications" directory
    2. goto any ipynb file and select the new app to open.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!