PyObjC是否预先安装在OSX SL上?

时间:2011-03-02 17:48:04

标签: python objective-c cocoa pyobjc

我打算在Mac App Store中销售一个使用该框架的程序。我想确保它会被Apple批准。

1 个答案:

答案 0 :(得分:4)

$ /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'