Forum Archive

Clear Python console?

Theo

Hi guys, is there an easy way to clear the console in code in Phytonista? Is there a function? Something like:
If a == 2:
#clearconsole()
Thx!

mikael

@Theo

import console
console.clear()
mikael

@Theo, one way to find these things out yourself is to highlight a promising word like clear in the editor, and selecting Help... on the second ”page” of the pop-up context menu.

cvp

@mikael said:

second ”page” of the pop-up context menu

On the first "page" on my iPad...