Return the MAJOR.MINOR Python version number as a string. Similar to '%d.%d' % sys.version_info[:2].
sysconfig/get_python_version
get_python_version