Created
July 7, 2023 09:59
-
-
Save simonreeves/78e3b9415136b5626aab653a4831ca65 to your computer and use it in GitHub Desktop.
check major minor python version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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