def get_python_version():
    """
    Return Python version used by this installation.
    """
    version_info = sys.version_info
    return "%s.%s.%s" % (version_info.major, version_info.minor, version_info.micro)

    Return Python version used by this installation.
    
st2common/st2common/util/versioning.py