On Dec 8, 8:36 pm, smalltalk <[EMAIL PROTECTED]> wrote:
> >>> import sys
> >>> sys.setdefaultencoding(utf8)
>
> Traceback (most recent call last):
>   File "<interactive input>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'setdefaultencoding'
>
> but i find the attribute"setdefaultencoding" in python manuals
>
> where is the error?

You need to do more than find an attribute in a manual, you need to
read what the manual says about that attribute.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to