Horje
check python 32 or 64 Code Example
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
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
How to check if Python is 32 or 64 bit
import struct
print(struct.calcsize("P")*8)




Python

Related
python get script name Code Example python get script name Code Example
how to open incognito tab using webbrowser Code Example how to open incognito tab using webbrowser Code Example
save thing in pickle python Code Example save thing in pickle python Code Example
pandas version check in python Code Example pandas version check in python Code Example
import seaborn Code Example import seaborn Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7