code: def select_window(self):
          
          target = ('%s:%s' % (self.get('session_id'), self.index),)
          return self.session.select_window(target)
docs: Select window. Return ``self``.
  
          To select a window object asynchrously. If a ``window`` object exists
          and is no longer longer the current window, ``w.select_window()``
          will make ``w`` the current window.
  
          Returns
          -------
          :class:`Window`