Kent Johnson wrote:
You can do the same thing using a PYTHONSTARTUP file - see http://docs.python.org/tut/node4.html#SECTION004240000000000000000

You can change the prompts with
import sys
sys.ps1 = ' >>> '
sys.ps2 = ' ... '

Very cool. I didn't know about this. Does anyone know how to make it work with Pythonwin[1]? (Obviously, I can type the above in manually every time, but I'd much rather have Pythonwin do this automatically for me.)


Steve

[1] I'd do my example code at the command prompt, but I can't live without copy-paste. ;)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to