check python is 32 or 64 code example
Example: check 32 or 64 bit python
import sys
sys.maxsize > 2**32
# it should display True in case of 64bit and False in case of 32bit
import sys
sys.maxsize > 2**32
# it should display True in case of 64bit and False in case of 32bit