[Tutor] script guidelines

Alan Gauld alan.gauld at yahoo.co.uk
Fri Oct 6 06:25:29 EDT 2017


On 06/10/17 11:07, renukesh nk wrote:
> currently m using pycharm , interpreter = python 3.6
> i am getting th error as below, what might be the reason for this.
> 
> UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 159:
> character maps to <undefined>

It looks like you have a character in your charmap that the
decoder can't decode.

But without seeing any code it's hard to be more specific.
Please always include the full error message every time.
And sending at least the enclosing function, but preferably
the whole source code if its not too long(<100 lines?) or
under confidentiality constraints. (If the latter try
to recreate the issue in a small snippet you can post)

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list