1. Miki Tebeka
  2. pythonwise

Commits

Miki Tebeka  committed 9b23ac5

ipy in OSX

  • Participants
  • Parent commits d7a4381
  • Branches default

Comments (0)

Files changed (1)

File ipy.scpt

View file
  • Ignore whitespace
+#!/usr/bin/osascript
+
+-- Run ipython on a new iTerm (OS X version)
+-- See http://www.iterm2.com/#/section/documentation/scripting
+
+tell application "iTerm"
+    activate
+    set ipyterm to (make new terminal)
+    tell ipyterm
+        set ipysession to (make new session)
+        tell ipysession
+            set name to "IPython"
+            exec command "/opt/local/bin/ipython"
+        end tell
+    end tell
+end tell
+
+