No sys.ps2 in IDLE (was Re: question)

Michael Hoffman cam.ac.uk at mh391.invalid
Sun Jul 3 06:03:46 EDT 2005


yipusi wrote:
> IDLE 1.0.3      
> 
>>>>import sys
>>>>sys.ps2
> 
> 
> Traceback (most recent call last):
>   File "<pyshell#1>", line 1, in -toplevel-
>     sys.ps2
> AttributeError: 'module' object has no attribute 'ps2'
> 
> 
> where is the problem?

The problem is that you are using IDLE (and an old version at that),
which doesn't use sys.ps2.
-- 
Michael Hoffman



More information about the Python-list mailing list