Answers for "how to check if your python is 32 or 64"

6

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
Posted by: Guest on June-25-2020
3

check python 32 or 64

# from your Windows/Linux shell run:
python -c "import sys; print(sys.maxsize > 2**32);"
# True --> 64 bits, False --> 32 bits
Posted by: Guest on May-15-2021

Code answers related to "how to check if your python is 32 or 64"

Python Answers by Framework

Browse Popular Code Answers by Language