Unicode Decode Error

Chris Rebert clp2 at rebertia.com
Sat Oct 9 00:58:43 CEST 2010


On Fri, Oct 8, 2010 at 2:31 PM, Pratik Khemka <pratikkhemka at hotmail.com> wrote:
> UnicodeDecodeError: 'ascii' codec can't decode byte 0x92 in position 152:
> ordinal not in range(128). Can someone please help me with  this error
> The error occurs in line wbk.save(p4_merge.xls). I have used
> import xlwt..Can someone just tell what do I need to do to get rid of this
> error. I read other forums which explain the error but do not solve it.

(1) Always include the *full* exception Traceback.
(2) Check whether your version of xlwt is up-to-date.
(3) You might have more luck asking on xlwt's newsgroup:
http://groups.google.com/group/python-excel

Cheers,
Chris



More information about the Python-list mailing list