when I type sys.ps2 after import sys,
I got the message like:
Traceback (most recent call last):
File "", line 1, in -toplevel-
sys.ps2
AttributeError: 'module' object has no attribute 'ps2'
why does it happen?
--
http://mail.python.org/mailman/listinfo/python-list
You should be in interactive mode to see those, otherwise you get the
error
--
http://mail.python.org/mailman/listinfo/python-list
yipusi wrote:
> IDLE 1.0.3
>
>>>>import sys
>>>>sys.ps2
>
>
> Traceback (most recent call last):
> File "", line 1, in -toplevel-
> sys.ps2
> AttributeError: 'module' object has no attribute 'ps2'
>
What should I do to correct the errors accordingly?
On 7/3/05, Michael Hoffman <[EMAIL PROTECTED]> wrote:
> yipusi wrote:
> > IDLE 1.0.3
> >
> >>>>import sys
> >>>>sys.ps2
> >
> >
> > Traceback (most recent call last):
&g
shisa wrote:
> What should I do to correct the errors accordingly?
What error? IDLE appears to be behaving as designed.
Also, please don't top-post--it makes responding to your message in a
way that others can understand more difficult.
http://en.wikipedia.org/wiki/Top-posting
--
Michael Hoffm