Is PyObjC pre-installed on OSX SL?
I'm going to sell a program that uses that framework in Mac App Store. I want to make sure 开发者_高级运维it will be approved by Apple.
Yes.
$ /usr/bin/python2.6
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import objc
>>> objc.__file__
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC/objc/__init__.pyc'
精彩评论