Created
April 23, 2013 01:53
-
-
Save anonymous/5440218 to your computer and use it in GitHub Desktop.
Start Ipython notebook server Make a script, compile to an app, and drag/drop a folder on the app to start the server in that directory
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
on open dropped_dir | |
tell application "Terminal" | |
set dirname to do shell script "perl -e \"print quotemeta ('" & POSIX path of item 1 of dropped_dir & "');\"" | |
do script "cd " & dirname & "; ipython notebook --pylab; exit" | |
end tell | |
end open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment