Last active
December 10, 2015 16:19
-
-
Save queeup/4460542 to your computer and use it in GitHub Desktop.
Check if system is 32bit or 64bit
This file contains hidden or 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
#!/usr/bin/env python | |
if isinstance(0xffffffff, long): | |
print("%2d\n" % 32) | |
else: | |
print("%2d\n" % 64) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment