Answers for "how to know if i have python 32 or 64 on linux"

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
0

how to know if python is 64 or 32 bit

import platform
platform.architecture()
Posted by: Guest on September-06-2021

Code answers related to "how to know if i have python 32 or 64 on linux"

Python Answers by Framework

Browse Popular Code Answers by Language