code: def pos(self, x=None, y=None):
          u'''Move or query the window cursor.'''
          if x is None:
              info = CONSOLE_SCREEN_BUFFER_INFO()
              self.GetConsoleScreenBufferInfo(self.hout, byref(info))
              return (info.dwCursorPosition.X, info.dwCursorPosition.Y)
          else:
              return self.SetConsoleCursorPosition(self.hout, 
                                                   self.fixcoord(x, y)f pos(self, x=None, y=None):
          u'''Move or query the window cursor.'''
          if x is None:
              info = CONSOLE_SCREEN_BUFFER_INFO()
              self.GetConsoleScreenBufferInfo(self.hout, byref(info))
              return (info.dwCursorPosition.X, info.dwCursorPosition.Y)
          else:
              return self.SetConsoleCursorPosition(self.hout, 
                                                   self.fixcoord(x, y))
docs: u'''Move or query the window cursor.