Inner workings of input and output in IPython | Hacker News Reader