parameters: (self, x, y, text, attr=None)
docstring: Write text at the given position.
docstring_summary: Write text at the given position.
docstring_tokens: Write text at the given position .
function: def text(self, x, y, text, attr=None):
          '''Write text at the given position.'''
          if attr is None:
              attr = self.attr
  
          pos = self.fixcoord(x, y)
          n = DWORD(0)
          self.WriteConsoleOutputCharacterW(self.hout, text, len(text), pos,
                                            byref(n))
          self.FillConsoleOutputAttribute(self.hout, attr, n, pos, byref(n))
function_tokens: def text ( self , x , y , text , attr = None ) : if attr is None : attr = self . attr pos = self . fixcoord ( x , y ) n = DWORD ( 0 ) self . WriteConsoleOutputCharacterW ( self . hout , text , len ( text ) , pos , byref ( n ) ) self . FillConsoleOutputAttribute ( self . hout , attr , n , pos , byref ( n ) )