Clearing the screen
Jeff Epler
jepler at unpythonic.net
Fri Dec 24 18:47:02 EST 2004
I don't know about idle, but the "real" python supports the
PYTHONSTARTUP environment variable.
PYTHONSTARTUP
If this is the name of a readable file, the Python commands in
that file are executed before the first prompt is displayed in
interactive mode. The file is executed in the same name space
where interactive commands are executed so that objects defined or
imported in it can be used without qualification in the
interactive session. You can also change the prompts sys.ps1 and
sys.ps2 in this file.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20041224/ebf3dec1/attachment.sig>
More information about the Python-list
mailing list