Chris Mellon <[EMAIL PROTECTED]> wrote: > FYI: OS X ships with wxWidgets installed.
For the sole purpose of providing an easy way to run existing wxPerl and wxPython code (and possibly "pure" wxWidgets code as well). As a *porting* aid if you will, as hinted in the "Using Traditional UNIX Graphical Environments" of the "Porting UNIX/Linux Applications to Mac OS X" document, here: <http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix /index.html> > How many applications built into OS X are built using it? I quote you: none, zero, zilch :> > Are you sure? How would you know? What's that ? Homework ? Oh well, here you go: import os import subprocess def findLinkedWithWX(folder): for root, dirs, files in os.walk(folder): for d in list(dirs): if d.endswith('.app'): dirs.remove(d) exename, _ = os.path.splitext(d) exe = '%s/%s/Contents/MacOS/%s' % (root, d, exename) popen = subprocess.Popen(['otool', '-L', exe], stdout=subprocess.PIPE) libs = popen.communicate()[0] if 'libwx' in libs: print d findLinkedWithWX('/Applications') findLinkedWithWX('/Developer') -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list