On Sun, 03 Jul 2005 03:19:45 -0400, Xinyue Ye wrote: > 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?
It works for me. >>> import sys >>> sys.ps2 '... ' Can you cut and past the relevant lines from your interactive session? -- Steven. -- http://mail.python.org/mailman/listinfo/python-list