def __init__(self, text=None, delay=None):
    self._text = text or ''
    self._delay = delay
    try:
      self._tty = open('/dev/tty')
    except IOError:
      # No TTY, revert to stdin
      self._tty = sys.stdin
    self.SetLines(None)
    self.Reset()
Solve linear regression analytically.
dataset/ETHPy150Open google/textfsm/terminal.py/Pager.__init__--crossover with--dataset/ETHPy150Open rasbt/mlxtend/mlxtend/regressor/linear_regression.py/LinearRegression._normal_equation