sys.ps2 assignment has no effect

Alex Martelli aleax at aleax.it
Sun Sep 22 17:44:05 EDT 2002


Lance wrote:

> I'm running the latest Python on Windows XP. The default installed
> secondary string appears to be blank spaces rather than an ellipse. The
> following has no effect:
> 
> import sys
> sys.ps2 = '... '
> 
> Any suggestions?

Is this with the text-mode interactive Python (which would
surprise me, as I've run the latest Python on XP w/o such
problems), or with IDLE or other such IDE?  IDLE does not
use PS2, afaik (it always uses spaces instead) and other IDEs
might do likewise.


Alex




More information about the Python-list mailing list