Python & unicode
John Roth
newsgroups at jhrothjr.com
Mon Jan 10 18:14:55 EST 2005
It doesn't work because Python scripts
must be in ASCII except for the
contents of string literals. Having a function
name in anything but ASCII isn't
supported.
John Roth
"Michel Claveau - abstraction méta-galactique non triviale en fuite
perpétuelle." <unseulmcmcmcmc at msupprimerlepoint.claveauPOINTcom> wrote in
message news:41e30aab$0$6434$8fcfb975 at news.wanadoo.fr...
Hi !
If Python is Ok with Unicode, why the next script not run ?
# -*- coding: utf-8 -*-
def режим(toto):
return(toto*3)
aret = режим(4)
@-salutations
--
Michel Claveau
More information about the Python-list
mailing list