[Pythonmac-SIG] py2app: hints for an easy console window forapplets?

Ronald Oussoren ronaldoussoren at mac.com
Wed Jun 21 08:14:36 CEST 2006


 
On Wednesday, June 21, 2006, at 02:32AM, Bob Ippolito <bob at redivi.com> wrote:

>On Jun 20, 2006, at 3:45 PM, Russell E. Owen wrote:
>
>> Anyone have simple code to add a console window to drag-and-drop apps
>> made from py2app (or, preferably, py2applet)? I would like stdout/ 
>> stderr
>> to show up on a visible window (rather than mixed in with console
>> messages).
>
>That's not trivial, you'd have to replace the executable stub with a  
>script that opens a new terminal window instead.

Either that or something like the embedded python console example in pyobjc. Neither way is very simple.

Ronald



More information about the Pythonmac-SIG mailing list