On Friday, 8 June 2018 07:42:34 UTC-4, Steven D'Aprano wrote: > On Fri, 08 Jun 2018 03:35:12 -0700, bellcanadardp wrote: > > > hello steven are you there?? > > i posted the full error message... > > No you didn't. > > I saw your post, and ignored it, because you didn't follow instructions. > I told you we need to see the *full* traceback, starting from the line > beginning "Traceback". You only posted the end of the traceback. > > I told you we needed to see the actual line of code you are trying to > run. You didn't show us the line of code you are trying to run. > > We're not mind-readers. We can't fix code that we can't see, giving > errors from a line you won't tell us, using a file we don't have. > > Please read this before replying: > > http://sscce.org/ > > Thank you. > > -- > Steven D'Aprano > "Ever since I learned about confirmation bias, I've been seeing > it everywhere." -- Jon Ronson *********************************************** Traceback (most recent call last):
File "createIndex.py", line 132, in <module> c.createindex() File "creatIndex.py", line 102, in createIndex pagedict=self.parseCollection() File "createIndex.py", line 47, in parseCollection for line in self.collFile: File "C:\Users\Robert\AppData\Local\Programs\Python\Python36\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table[0] UnicodeDecodeError: 'charmap'codec can't decode byte 0x9d in position 7414: character maps to <undefined> ***************************************************** -- https://mail.python.org/mailman/listinfo/python-list