best text editor for programming Python on a Mac
Ned Batchelder
ned at nedbatchelder.com
Fri Jun 17 20:36:20 EDT 2016
On Friday, June 17, 2016 at 8:19:46 PM UTC-4, Lawrence D’Oliveiro wrote:
> On Saturday, June 18, 2016 at 11:52:35 AM UTC+12, Chris wrote:
>
> > SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no
> > encoding declared; see http://python.org/dev/peps/pep-0263/ for details
>
> The problem is the version of Python that comes with your Mac is obsolete.
That is not the problem. Python 2 can handle non-ASCII characters just fine.
Chris: if you could show us the code in hello_world.py, we can help you
get it working.
--Ned.
More information about the Python-list
mailing list