[IPython-user] Are people using ipython+emacs+MacOSX?

Fernando Perez fperez.net@gmail....
Tue Jan 15 15:56:47 CST 2008


On Jan 15, 2008 2:51 PM, Barry Wark <barrywark@gmail.com> wrote:
> #!/bin/bash
> #!/bin/bash
>
> osascript <<- APPLESCRIPT
>         tell application "Terminal"
>                 set currentTab to (selected tab of (get first window))
>                 set tabProcs to processes of currentTab
>                 set theProc to (end of tabProcs)
>                 if theProc is not "Python" then
>                         set currentTab to (do script "ipython")
>                 end if
>
>                 do script "%run -e -i -n $TM_FILEPATH" in currentTab
>         end tell
> APPLESCRIPT

This is nice! Would you care to make a cookbook entry for these
tricks?  I'm sure many osx users wold benefit from it.

Cheers,

f


More information about the IPython-user mailing list