latin1 encoding as default?

Martin v. Löwis martin at v.loewis.de
Sat May 24 15:06:53 EDT 2003


Helmut Jarausch <jarausch at skynet.be> writes:

> Many thanks, that's exactly what I was looking for,
> it works fine in a Python 2.3 scirpt
> but how can I tell idle .
> If I enter
> # _*_ coding: latin1 _*_
> 
> as the first line in 'idle'
> it doesn't have an effect.
> 
> Did I miss something?

What IDLE version are you using? The IDLE in 2.3 supports that, as
does idlefork. I recommend you spell this as 

# -*- coding: iso-8859-1 -*-

Regards,
Martin





More information about the Python-list mailing list