setdefaultencoding error

S

smalltalk

import sysTraceback (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?
 
J

John Machin

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top