Created
January 10, 2014 10:36
-
-
Save adrienlachaize/8349814 to your computer and use it in GitHub Desktop.
Get system os struct.
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
import struct | |
def get_os_struct(): | |
"""Get system os struct.""" | |
return str(struct.calcsize('P') * 8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment