[Pythonmac-SIG] py2app and ipython

David Warde-Farley dwf at cs.toronto.edu
Thu Apr 30 23:54:32 CEST 2009


On 30-Apr-09, at 4:36 PM, Thomas Robitaille wrote:

>>> I am trying to use py2app to make a simple MacOS X application  
>>> that launches an ipython shell.
>>
>> How do you expect to use this? It appears to need a terminal window  
>> -- Py2app is usually for GUI apps, so it will dump output to  
>> Console.app, but not give you a terminal.
>
> That's true - what I would really like is to be able to open a  
> terminal with an ipython prompt from a .app file, and to include a  
> specific module I am developing so that it can be used from that  
> prompt. All this in a bundled file so that any user can download it  
> and use it without installing python. I've poked around a bit and  
> have found this

It sounds like you've figured out how to spawn a Terminal like you  
want to, my first thought would be to use AppleScript.

You might also be interested in Nicolas Rougier's Glipy package, which  
embeds IPython (and some other neat NumPy-related features) in an  
OpenGL pseudo-terminal.

	http://www.loria.fr/~rougier/glipy

David


More information about the Pythonmac-SIG mailing list