In Ipython webiste:
Search command history
IPython provides two ways for searching through previous input and thus reduce the need for repetitive typing:
Start typing, and then use Ctrl-p (previous,up) and Ctrl-n (next,down) to search through only the history items that match what you’ve typed so far. If you use Ctrl-p/Ctrl-n at a blank prompt, they just behave like normal arrow keys.
Hit Ctrl-r: opens a search prompt. Begin typing and the system searches your history for lines that contain what you’ve typed so far, completing as much as it can.
In pycharm, I cannot use this search.