[Tutor] Clearing interpreter buffer?
Sun, 3 Feb 2002 11:58:36 -0500
On Sun, Feb 03, 2002 at 08:51:13AM -0800, Kirby Urner wrote:
> My friend John is running a Python script with lots
> of print statements in some looping program.
> The data scrolls and scrolls, maybe all day long, and
> he says its filling up the history buffer -- what IDLE
> keeps around to scroll back through.
> He'd like to periodically delete this buffer or clear
> it, from within his program.
> Is there a way?
I would append it to a file and do tail -f command on it, or just open
it in a text editor and keep refreshing it.
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org