How to clear the Console via Python?

The Console window can be emptied via Python in Sim4Life >=4.0

import s4l_v1.ui as gui
gui.ClearConsole()