Answers for "how to check if i have python 32 or 64 bit"

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
1

How to check if Python is 32 or 64 bit

import struct
print(struct.calcsize("P")*8)
Posted by: Guest on June-24-2021

Code answers related to "how to check if i have python 32 or 64 bit"

Python Answers by Framework

Browse Popular Code Answers by Language