I am running and interactive ipython shell in an emacs buffer using ipython.el. I wonder if there is a way to clear the screen? Since it is not running on a terminal, the import os; os.system('CLS') trick will not work. Thanks.
I am running and interactive ipython shell in an emacs buffer using ipython.el .
Share
It looks like ipython is based on comint, which means the following code should work for you (called with
M-x my-clearor your favourite key binding):I posted some other options in response to this question.