how to check installed python is 32 bit or 64 bit for windows 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