Skip to content

Instantly share code, notes, and snippets.

@simonreeves
Created July 7, 2023 09:59
Show Gist options
  • Save simonreeves/78e3b9415136b5626aab653a4831ca65 to your computer and use it in GitHub Desktop.
Save simonreeves/78e3b9415136b5626aab653a4831ca65 to your computer and use it in GitHub Desktop.
check major minor python version
import sys
if sys.version_info >= (3,4):
print('at least 3.4!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment