(top posting fixed; please keep discussion on this
list)
--- [EMAIL PROTECTED] escribió:
In article
[EMAIL PROTECTED]
you wrote:
En Sun, 20 Apr 2008 15:54:20 -0300,
[EMAIL PROTECTED] escribi?:
I used extensively python and now I find this
mess with strings,
I can't even reproduce
Hi,
I used extensively python and now I find this mess with strings,
I can't even reproduce tutorial examples:
apfel.encode('utf-8') (it was with umlaut)
File stdin, line 0
^
SyntaxError: 'ascii' codec can't decode byte 0xc4 in position 1:
ordinal not in range(128)
Is there any
On Apr 20, 7:54 pm, [EMAIL PROTECTED] wrote:
[...]
python should have stayed at version 1.5, every single 'improvement'
has been a mess. But this is the definitive hell.
You can still download Python 1.5.2 from python.org:
http://www.python.org/download/releases/1.5/
HTH
--
Arnaud
--
En Sun, 20 Apr 2008 15:54:20 -0300, [EMAIL PROTECTED] escribió:
I used extensively python and now I find this mess with strings,
I can't even reproduce tutorial examples:
apfel.encode('utf-8') (it was with umlaut)
File stdin, line 0
^
SyntaxError: 'ascii' codec can't decode byte 0xc4
[EMAIL PROTECTED] wrote:
Hi,
I used extensively python and now I find this mess with strings,
I can't even reproduce tutorial examples:
apfel.encode('utf-8') (it was with umlaut)
File stdin, line 0
^
SyntaxError: 'ascii' codec can't decode byte 0xc4 in position 1:
ordinal
On Apr 20, 11:54 am, [EMAIL PROTECTED] wrote:
Hi,
I used extensively python and now I find this mess with strings,
I can't even reproduce tutorial examples: apfel.encode('utf-8') (it was
with umlaut)
File stdin, line 0
^
SyntaxError: 'ascii' codec can't decode byte 0xc4 in
Juergen Perlinger wrote:
[EMAIL PROTECTED] wrote:
[snip]
Basically you're not using ASCII encoding in your source text... You need
to define an encoding for your source if you're using german umlauts or
other fancy stuff.
See chapter 2.1.4 of the reference manual, and add e.g.
# -*-
Jason Scheirer wrote:
[snip]
It's true -- decorators, the class/type cleanup, properties, -= and
+=, list comprehensions, generators, distutils, and all the new
modules in the standard library are completely, entirely useless.
Python SHOULD have stayed at 1.5.
totally OT, but just a few