[Tutor] unsupported characters

Kent Johnson kent37 at tds.net
Tue Aug 19 02:57:57 CEST 2008


On Mon, Aug 18, 2008 at 6:17 PM, Robert Johansson
<robert.johansson at math.umu.se> wrote:
> If
> there are any Mac users who read this, which editor would you recommend for
> Mac?

TextMate is very popular, it is my choice. For Python programs that
require console input, run them in Terminal. Personally I don't think
much of IDLE; it's chief advantage is that it is better than Notepad
or TextEdit.

I have Terminal set to use UTF-8 encoding and I can input and print
non-ascii characters in Python 2.5.2:
In [2]: s='ö'

In [3]: s
Out[3]: '\xc3\xb6'

In [4]: print s
ö

Kent


More information about the Tutor mailing list