blender python version code example
Example: blender show python version
import sys
print(sys.version_info)
# sys.version_info(major=3, minor=4, micro=2, releaselevel='final', serial=0)
print(sys.version_info.major)
# 3
import sys
print(sys.version_info)
# sys.version_info(major=3, minor=4, micro=2, releaselevel='final', serial=0)
print(sys.version_info.major)
# 3