You can determine whether your python shell is executing in 32bit or 64bit mode on OS X by using the following ways:-
When you are starting your Python interpreter in the terminal/command line and if you see the following line then you can assume that your system has the requirement that you want:-
Python 2.7.2 (default, Jun 12 2011, 14:24:46)[MSC v.1500 64 bit (AMD64)] on win32
Where [MSC v.1500 64 bit (AMD64)] means 64-bit Python.
If you want to check it by running Python code than you can run the following piece of code:-
print(struct.calcsize("P") * 8)