code: def _log_python_version(self):
          
          self.log.info(
              u'Python Version: {}.{}.{}'.format(
                  sys.version_info.major, sys.version_info.minor, sys.version_info.micro
              )
          )
docs: Log the current Python version.