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: 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Luuk , python-list@python.org Subject: Re: Beginner python 3 unicode question References: In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 > the error is in one of the lines you did not copy here.... > > because this works without problems: > <> > #!/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.