Created
October 30, 2015 08:05
-
-
Save Colorfulstan/c01892e46c2e9aef825a to your computer and use it in GitHub Desktop.
check if 32 or 64 bit version of python is installed (python 2.6+)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
is_64bits = sys.maxsize > 2**32 | |
print is_64bits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment