import struct
def get_arch():
"""
Determine if the python interpreter is running in 32bit or 64bit mode.
Returns
-------
str
Either '32bit' or '64bit'.
"""
return struct.calcsize("P") * 8
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)