SyntaxError: Non-ASCII character ‘\xa3’ in file when function returns ‘£’

putting # -*- coding: utf-8 -*- at the top of your .py file.

Leave a Reply

Your email address will not be published. Required fields are marked *