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? Windows/Linux/MacOS? IDLE, Pythonwin, Pycrust? All of that might be relevant. Alan G. ----- Original Message ----- From: "Xinyue Ye" <[EMAIL PROTECTED]> To: <tutor@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- sys.ps2 AttributeError: 'module' object has no attribute 'ps2' why does it happen? _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor