code: def GetVersion():
    
  
    with open(os.path.join('google', 'protobuf', '__init__.py')) as version_file:
      exec(version_file.read(), globals())
      return __version__
docs: Gets the version from google/protobuf/__init__.py
  
    Do not import google.protobuf.__init__ directly, because an installed
    protobuf library may be loaded instead.