def query(self, *parameters):
        telnet = telnetlib.Telnet(self.host, self.port)
        if self._username and self._password:
            telnet.write('login {username} {password}\n'.format(
                username=self._username,
                password=self._password).encode('UTF-8'))
            telnet.read_until(b'\n', timeout=3)
        message = '{}\n'.format(' '.join(parameters))
        telnet.write(message.encode('UTF-8'))
        response = telnet.read_until(b'\n', timeout=3)\
            .decode('UTF-8')\
            .split(' ')[-1]\
            .strip()
        telnet.write(b'exit\n')
        return urllib.parse.unquote(response)
Generates the symmetric group of order n, Sn.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/squeezebox.py/LogitechMediaServer.query--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/combinatorics/generators.py/symmetric