Answers for "how to check if python is 64 bits"

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
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 check if python is 64 bits"

Python Answers by Framework

Browse Popular Code Answers by Language