-
-
Save andrewgiessel/5440220 to your computer and use it in GitHub Desktop.
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