[Pythonmac-SIG] PythonLauncher - first stab available

Jack Jansen Jack.Jansen@oratrix.com
Mon, 29 Jul 2002 23:44:27 +0200


Folks,
the first stab at the PythonLauncher has just been checked in to 
the repository. It's in Mac/OSX/PythonLauncher.

I would like people to check it out and comment on the 
functionality, interface, etc.

Here's the checkin message:
-------------------------------------

First stab at the launcher application. This will be run when the user
doubleclicks a .py, .pyw or .pyc file. It runs the file by invoking the
relevant interpreter (either the command line Python in a 
terminal window
or a Python.app for GUI-based scripts). Interpreter to use and 
the options
to pass are settable through preferences.

If PythonLauncher wasn't running it does its thing for one 
script and exits.
If it was manually started before a dialog is presented where the user
can set the options to use, etc.

To be done:
- option-drag/doubleclick should always open the interactive dialog
- Terminal-window isn't done yet
- Should be reimplemented in Python, but pyobjc isn't part of the core.
- Various menu entries should be disabled.
-----------------------------------
I'd be especially grateful for help on the first, second and 
third "to be done" items, as I haven't a clue how to get these 
working.

Also, this is my first Cocoa program (aside from doing the two 
tutorials), so I explicitly request comments on the organization 
of the classes, etc.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -