3.11 What is pythonw? When do I need to use it? What is the error SetFrontProcess failed,-606
Because of a subtle bug in OS X you can not interact with programs that use the Window Manager unless the
application you are in was started using a fully qualified path (which is what pythonw does) or was started as an application bundle (.app). If you ever get an exception that ends with a cryptic message like RuntimeError: No window manager access, cannot send AppleEvent or SetFrontProcess failed,-606 then try running in pythonw.
this is an obsolete view,
PyAppStub works with a "full qualified path"
for Applescript
http://cheeseshop.python.org/pypi/appscript/
PyAppStub is a bridge between Mac OS X --CFLocalization --CFIdentifier ---Futur CFPreferences and Python
example : bridge : gettext / Finder international
-- 3 way :
-- simple interpreter
-- bridge your existing system with Mac OSX
-- full Mac OSX
-plum