Skip to content

Instantly share code, notes, and snippets.

@adrienlachaize
Created January 10, 2014 10:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrienlachaize/8349814 to your computer and use it in GitHub Desktop.
Save adrienlachaize/8349814 to your computer and use it in GitHub Desktop.
Get system os struct.
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