Skip to content

Python on Mac

hewigovens edited this page Mar 5, 2014 · 2 revisions

###32bit Python

  • export VERSIONER_PYTHON_PREFER_32_BIT=yes

    • for stock python version
  • Run as arch -i386 python

    • work for both
  • Detect 32bit/64bit:

import struct
print( 8 * struct.calcsize("P"))

###PyObjc

###Reference

You can’t perform that action at this time.