Clearing the screen

Nick Coghlan ncoghlan at iinet.net.au
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.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list