Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2267

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

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file
Date 2011-03-30 22:36 -0400
References <f87a430c-2385-4731-9dfb-ecdfb07af0e5@i35g2000prd.googlegroups.com> <imvi69$d45$01$1@news.t-online.com> <2851a17f-cac9-43a5-bbf4-dcb2e22520ad@o15g2000prn.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.24.1301539016.2990.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Gnarlodious <gnarlodious@gmail.com> - 2011-03-30 07:34 -0700
  Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-03-30 10:52 -0400
    Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Peter Otten <__peter__@web.de> - 2011-03-30 17:30 +0200
  Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Peter Otten <__peter__@web.de> - 2011-03-30 17:28 +0200
    Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Gnarlodious <gnarlodious@gmail.com> - 2011-03-30 16:58 -0700
      Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Terry Reedy <tjreedy@udel.edu> - 2011-03-30 22:36 -0400

csiph-web