Sudden error: SyntaxError: Non-ASCII character '\xc2' in file

Terry Reedy tjreedy at udel.edu
Wed Mar 30 22:36:43 EDT 2011


On 3/30/2011 7:58 PM, Gnarlodious wrote:
> On Mar 30, 9:28 am, Peter Otten wrote:
>
>> You are trying to run your 3.x code with Python 2.x...
>
> You're right. Exactly why this started happening I don't know.

I believe recent Mac OSX comes with some 2.x installed as the default 
Python.

-- 
Terry Jan Reedy




More information about the Python-list mailing list