Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59654

Re: Beginner python 3 unicode question

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'clean.': 0.09; 'skip:/ 10': 0.09; 'subject:question': 0.10; 'python': 0.11; 'mailscanner,': 0.16; 'subject:unicode': 0.16; 'subject:python': 0.16; 'header:User-Agent:1': 0.23; 'error': 0.23; 'header:In- Reply-To:1': 0.27; 'to:2**1': 0.27; 'scanned': 0.29; 'mode': 0.30; 'lines': 0.31; 'skip:# 10': 0.33; 'version': 0.36; 'believed': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'dangerous': 0.60; 'most': 0.60; 'viruses': 0.61
Date Sat, 16 Nov 2013 21:57:53 +0100
From Laszlo Nagy <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version 1.0
To Luuk <luuk@invalid.lan>, python-list@python.org
Subject Re: Beginner python 3 unicode question
References <mailman.2730.1384629174.18130.python-list@python.org> <o1ukla-h8g.ln1@luuk.invalid.lan>
In-Reply-To <o1ukla-h8g.ln1@luuk.invalid.lan>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-shopzeus-MailScanner-Information Please contact the ISP for more information
X-shopzeus-MailScanner-ID 3E98D88973A0.AD74C
X-shopzeus-MailScanner Found to be clean
X-shopzeus-MailScanner-From gandalf@shopzeus.com
X-Spam-Status No
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2734.1384635478.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384635478 news.xs4all.nl 15960 [2001:888:2000:d::a6]:38329
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59654

Show key headers only | View raw


> the error is in one of the lines you did not copy here....
>
> because this works without problems:
> <<BEGIN-of script>>
> #!/usr/bin/python
>
Most probably, your /usr/bin/python program is python version 2, and not 
python version 3

Try the same program with /usr/bin/python3. And also try the interactive 
mode with the same program and I think you will see the same phenomenon.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Beginner python 3 unicode question Laszlo Nagy <gandalf@shopzeus.com> - 2013-11-16 20:12 +0100
  Re: Beginner python 3 unicode question Luuk <luuk@invalid.lan> - 2013-11-16 20:35 +0100
    Re: Beginner python 3 unicode question Laszlo Nagy <gandalf@shopzeus.com> - 2013-11-16 21:57 +0100
      Re: Beginner python 3 unicode question Luuk <luuk@invalid.lan> - 2013-11-16 22:10 +0100

csiph-web