Skip to content

Instantly share code, notes, and snippets.

@lithid
Created June 1, 2012 03:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lithid/2848375 to your computer and use it in GitHub Desktop.
Save lithid/2848375 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys
import platform
p = platform.dist()
distro = p[0]
version = p[1]
name = p[2]
check = (sys.maxsize > 2**32)
print "Distro: %s\nVersion: %s\n Name: %s\n 64bit OS: %s" % (distro, version, name, check)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment