Skip to content

Instantly share code, notes, and snippets.

@willb
Created December 4, 2008 02:34
Show Gist options
  • Save willb/31823 to your computer and use it in GitHub Desktop.
Save willb/31823 to your computer and use it in GitHub Desktop.
python - << EOF
import sys
vtup = sys.version_info
version = vtup[0] * 100 + vtup[1] * 10 + vtup[2]
if version < 240:
sys.exit(1)
sys.exit(0)
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment