diff options
Diffstat (limited to 'src/utils/probe.py')
-rw-r--r-- | src/utils/probe.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/probe.py b/src/utils/probe.py index e53f08f..92ccf7c 100644 --- a/src/utils/probe.py +++ b/src/utils/probe.py @@ -10,6 +10,7 @@ import os import subprocess import platform import logging +import sys from enum import Enum from subprocess import PIPE @@ -76,6 +77,10 @@ def getwindowsversion(winreghives): return 'Microsoft Windows' +def interpreter_is64bit(): + return sys.maxsize > 2**32 + + def windows_is64bit(winreghives): """ Check for 64 bit Windows by means of retrieving the value of |