def console_to_str(s):
        """ From pypa/pip project, pip.backwardwardcompat. License MIT. """
        try:
            return s.decode(console_encoding)
        except __HOLE__:
            return s.decode('utf_8')
dataset/ETHPy150Open tony/tmuxp/tmuxp/_compat.py/console_to_str