Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.