Clearing the screen

Nick Coghlan ncoghlan at
Sat Dec 25 14:45:00 CET 2004

Jeff Epler wrote:
> I don't know about idle, but the "real" python supports the
> PYTHONSTARTUP environment variable.

I just tried it - IDLE ignores PYTHONSTARTUP, as does PythonWin (I just started 
using PYTHONSTARTUP to switch the standard prompt from '>>>' to "Py>').

I believe PYTHONSTARTUP is handled by CPython's main function before it gets to 
the interactive interpreter.


Nick Coghlan   |   ncoghlan at   |   Brisbane, Australia

More information about the Python-list mailing list