python Share python 64 bit by admin at 2017-10-05 08:00:00. How to determine if my python shell is executing in 32 bit or 64 bit import struct print struct.calcsize("P") * 8