Проверьте Python 32 или 64
# from your Windows/Linux shell run:
python -c "import sys; print(sys.maxsize > 2**32);"
# True --> 64 bits, False --> 32 bits
Darth Vader
# from your Windows/Linux shell run:
python -c "import sys; print(sys.maxsize > 2**32);"
# True --> 64 bits, False --> 32 bits
import sys
sys.maxsize > 2**32
# it should display True in case of 64bit and False in case of 32bit
import platform
platform.architecture()
import struct
print(struct.calcsize("P")*8)