Python 32位 or 64位 In [4]: import platform In [5]: platform.architecture() Out[5]: ('32bit', 'WindowsPE')