jjabba
jjabba

Reputation: 504

Print pyObjC version installed?

I've recently started programming "Objective C" in python using the excellent pyObjC extension. I'm using macOS High Sierra (10.13.4) with apple's stock python 2.7.10 installation. That part was easy to find out using an interactive python shell:

>>> import platform
>>> platform.python_version()

How can I do the same for the installed pyObjC extension?

Upvotes: 2

Views: 784

Answers (1)

jjabba
jjabba

Reputation: 504

Using an interactive shell:

>>> import objc
>>> objc.__version__

Using pip in terminal:

pip list | grep pyobjc-core

Upvotes: 4

Related Questions