[wxPython-mac] Re: [Pythonmac-SIG] Wanted: working example of CFBundleTypeRole Shell

Bill Bedford billb@mousa.demon.co.uk
Fri, 8 Mar 2002 17:01:19 +0000


At 8:27 am -0800 08/03/02, Kevin Altis wrote:

>>  From: Jack Jansen
>>
>>  I'm going to think about the problem a bit more: it's solved for the
>>  command line case already, and for the finder case (doubleclicking a .py
>>  file) I'm not so sure anymore that what you want if you double click a
>>  .py file is running it, a case could be made that you really want to
>>  open it in the IDE.
>
>In that case, how do you envision users of scripts running them? In the case
>of a script with a GUI the user is going to want to treat the script like an
>application, or at least that is what we're already doing on Windows and
>Linux with wxPython scripts/apps. The user will want the option of a console
>window for stdout and stderr (basically debugging). We already have the .pyw
>extension for suppressing the console, what does that do on the Mac?
>Double-clicking a .py or .pyw file on Windows (Linux too?) runs the script.
>
>If we have to have a separate extension or some other wrapper mechanism for
>the Mac, that is going to make doing cross-platform scripts more tedious, so
>it would be nice to avoid if possible.

What's wrong with using contextual menus?*

There are 'open with' plug ins for both OS9 and OSX

There is even a python interface that allows you to run scripts.

*OK on OSX it is a bit slow, but I would expect that will change.


-- 

Bill Bedford

You can win or you can have peace, but not at the same time.