Ke Tian Ke Tian - 1 year ago 191
Python Question

emacs: clear(erase) the python result console in the emacs

Hi I am using the emacs and elpy to run the python code as shown in the figure. Since the output result is so many, I want to erase or clear the console result. I want to make the console result be empty or clear. Is there emacs keys to clear the python console in the emacs or how to set it. Thanks in advance!
running python in emacs

Answer Source

You can use M-x erase-buffer to clear the *Python* buffer (or any other buffer)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download