Re: Python & unicode
P_at_draigBrady.com
Date: 01/11/05
- Next message: Bengt Richter: "Re: Securing a future for anonymous functions in Python"
- Previous message: Jürgen Exner: "Re: 20050110: string join, substring, length"
- In reply to: Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuell: "Python & unicode"
- Next in thread: Scott David Daniels: "Re: Python & unicode"
- Reply: Scott David Daniels: "Re: Python & unicode"
- Reply: Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuell: "Re: Python & unicode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 11 Jan 2005 10:21:16 +0000
Michel Claveau - abstraction méta-galactique non triviale en fuite
perpétuelle. wrote:
> Hi !
>
> If Python is Ok with Unicode, why the next script not run ?
>
> # -*- coding: utf-8 -*-
>
> def режим(toto):
> return(toto*3)
Because the coding is only supported in string literals.
But I'm not sure exactly why. It would be nice to do:
import math
Ï€ = math.pi
-- Pádraig Brady - http://www.pixelbeat.org --
- Next message: Bengt Richter: "Re: Securing a future for anonymous functions in Python"
- Previous message: Jürgen Exner: "Re: 20050110: string join, substring, length"
- In reply to: Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuell: "Python & unicode"
- Next in thread: Scott David Daniels: "Re: Python & unicode"
- Reply: Scott David Daniels: "Re: Python & unicode"
- Reply: Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuell: "Re: Python & unicode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|