RE: try to use unicode

2010-11-20 Thread Mikael B
Meddelandetext Am 20.11.2010 06:53, schrieb Mikael B: Hi. I'm learning python. python 2.6.6 on ubuntu 10.10 I'm swedish so I try to use unicode to get swedish characters. I've checked wikipedia. utf-8 is said to be an unicode

try to use unicode

2010-11-19 Thread Mikael B
Hi. I'm learning python. python 2.6.6 on ubuntu 10.10 I'm swedish so I try to use unicode to get swedish characters. I've checked wikipedia. utf-8 is said to be an unicode encoding.. this is the test program: # -*- coding: utf-8 -*- import readline s=raw_input(u'Månadslön:') and this is the

RE: try to use unicode

2010-11-19 Thread Mikael B
Date: Sat, 20 Nov 2010 08:47:18 +0100 From: stefan.sonnenb...@pythonmeister.com To: mba...@live.se CC: python-list@python.org Subject: Re: try to use unicode Meddelandetext Am 20.11.2010 06:53, schrieb Mikael B: Hi. I'm learning python

RE: Leo 4.8 rc1 released

2010-11-15 Thread Mikael B
From: edream...@gmail.com Subject: Leo 4.8 rc1 released Date: Mon, 15 Nov 2010 09:06:01 -0800 To: python-list@python.org Leo 4.8 release candidate 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Leo is a text editor, data organizer,

RE: is list comprehension necessary?

2010-10-26 Thread Mikael B
That's from the functional programming crowd. Python isn't a functional language. A noob question: what is a functional language? What does it meen? -- http://mail.python.org/mailman/listinfo/python-list

NZEC what is it?

2010-08-15 Thread Mikael B
Hi I use, among other things, a site, http://www.codechef.com to learn python. I don't know what platform they use. I use linux. When I submit this little piece of code to them: import sys import math #main s=sys.stdin.read() int_list=s.split() for a in int_list[1:]: print

RE: NZEC what is it?

2010-08-15 Thread Mikael B
From: mba...@live.se To: pyt...@mrabarnett.plus.com Subject: RE: NZEC what is it? Date: Sun, 15 Aug 2010 19:58:44 +0200 Date: Sun, 15 Aug 2010 18:22:54 +0100 From: pyt...@mrabarnett.plus.com To: python-list@python.org Subject: Re: NZEC what is it? Mikael B wrote: Hi I

RE: NZEC what is it?

2010-08-15 Thread Mikael B
From: ian.g.ke...@gmail.com Date: Sun, 15 Aug 2010 17:39:57 -0400 Subject: Re: NZEC what is it? To: python-list@python.org On Sun, Aug 15, 2010 at 12:56 PM, Mikael B mba...@live.se wrote: Hi I use, among other things, a site, http://www.codechef.com to learn python. I don't