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 |