code: def getkeyword(self, keyword):
          
          if isinstance(keyword, str):
              return self._getkeyword('', keyword, -1)
          else:
              return self._getkeyword('', '', keyword)
docs: Get the value of a table keyword.
  
          The value of a keyword can be a:
  
          - scalar which is returned as a normal python scalar.
          - an array which is returned as a numpy array.
          - a reference to a table which is returned as a string containing its
            name prefixed by 'Table :'. It can be opened using the normal table
            constructor which will remove the prefix.
          - a struct which is returned as a dict. A struct is fully nestable,
            thus each field in the struct can have one of the values described
            here.
  
          Similar to method :func:`fieldnames` a keyword name can be given
          consisting of multiple parts separated by dots. This represents
          nested structs, thus gives the value of a field in a struct
          (in a struct, etc.).
  
          Instead of a keyword name an index can be given which returns the value
          of the i-th keyword.