Skip to content

Instantly share code, notes, and snippets.

@sentenza
Created February 3, 2014 16:21
Show Gist options
  • Save sentenza/8786980 to your computer and use it in GitHub Desktop.
Save sentenza/8786980 to your computer and use it in GitHub Desktop.
if sys.version_info < (2, 6):
print('ERROR: %s' % sys.exc_info()[1])
print('ERROR: this script requires Python 2.6 or greater.')
sys.exit(101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment