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


Groups > comp.lang.python > #59654

Re: Beginner python 3 unicode question

Date 2013-11-16 21:57 +0100
From Laszlo Nagy <gandalf@shopzeus.com>
Subject Re: Beginner python 3 unicode question
References <mailman.2730.1384629174.18130.python-list@python.org> <o1ukla-h8g.ln1@luuk.invalid.lan>
Newsgroups comp.lang.python
Message-ID <mailman.2734.1384635478.18130.python-list@python.org> (permalink)

Show all headers | 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