[Tutor] a question

Alan G alan.gauld at freenet.co.uk
Sun Jul 3 16:00:58 CEST 2005

It works Ok for me, 
can you cut and paste the full session so we can 
see exactly what is happening. 

Also, what environment are you running it in? 
IDLE, Pythonwin, Pycrust?

All of that might be relevant.

Alan G.

----- Original Message ----- 
From: "Xinyue Ye" <ypaami at gmail.com>
To: <tutor at python.org>
Sent: Sunday, July 03, 2005 8:10 AM
Subject: [Tutor] a question

when I type sys.ps2 after import sys,
I got the message like:
Traceback (most recent call last):
 File "<pyshell#10>", line 1, in -toplevel-
AttributeError: 'module' object has no attribute 'ps2'
why does it happen?

More information about the Tutor mailing list