How to create a shortcut to IPython’s interactive shell on the dock

command linedockpython

I have successfully installed IPython. I can open the interactive shell by typing this from the Terminal:

ipython qtconsole &

Is there a way to create a shortcut on the dock that executes the command above?

Best Answer

Open AppleScript Editor (/Applications/Utilities) and type this:

do shell script "open 'ipython qtconsole &'"

Save it as an application and add it to the dock.