Last active
February 3, 2020 15:55
-
-
Save xiaoouwang/08053644b6aabc666acb0b5894419cc1 to your computer and use it in GitHub Desktop.
an apple script to open jupyter notebook by double clicking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- credits to https://stackoverflow.com/questions/30953227/double-click-to-open-an-ipython-notebook | |
variable="'$1'" | |
the_script='tell application "terminal" to do script "nbopen ' | |
osascript -e "${the_script}${variable}\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment