[Tutor] a question

Xinyue Ye ypaami at gmail.com
Sun Jul 3 09:10:24 CEST 2005


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?


More information about the Tutor mailing list