How to use pipe in IPython
问题 In a Linux terminal, when the output of one command is too long to read in one page, I can do this: cat file | less so that I can read and scroll up and down the output from the cat file. How can I do this in IPython? For example, I tried this and it didn't work: whos | less My original problem is that the output from whos is too much to be seen by doing Shift+Page Up and I don't want to change the scroll buffer. 回答1: In IPython, you can use %page obj to show the object obj using your