[Python-3000] [Python-ideas] Namespaces are one honking great idea -- let's do more of those!

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 2 23:59:47 CET 2008


Stephen J. Turnbull wrote:
> Mac OS X's open command does something according to extension:
> 
> I don't know what, though.  The disk spun, I waited a second, and then
> the prompt returned. :-)

I just tried an experiment on my system, and it appears
to want to launch IDLE -- but IDLE seems to be broken for
me, so it doesn't work properly.

But MacOSX certainly *can* launch things based on filename
extension, so it would be possible to set it up to work
the way Windows does, I think.

Personally I never use it that way -- I launch all my
text-mode Python programs from a shell, and make application
bundles of anything I want to launch from the Finder.

--
Greg


More information about the Python-3000 mailing list