Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90246
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Moving to Python 3.x |
| Date | 2015-05-09 15:58 -0400 |
| References | <alpine.LNX.2.00.1505092025440.10854@Zvartnots> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.289.1431201510.12865.python-list@python.org> (permalink) |
On 5/9/2015 2:30 PM, Antranig Vartanian wrote: > Hay, > > I learned the basics of python using the book "Think Python" > (http://www.greenteapress.com/thinkpython/) which was good (IMHO), and > it teaches in Python 2.7. Now I'm trying to write my first python+gtk > program. > > anyways, my question will be, is it so necessary to move to python3.x > ASAP? or Python2.7 will live for a while (2-3 years)?. 1.5 is still in use, so that is not exactly the issue. I and many here recommend starting with current 3.x unless there is a compelling reason otherwise: 1. learning from a 2.7 book; 2. employer requires 2.7 3. using 2.x only module. If you are determined to use gtk and are using the PyGTK bindings https://pypi.python.org/pypi/PyGTK/2.24.0 then you have no choice. If you write 2.7 code, make it as 3.x-like as sensible. Others may post some links. If you use unicode, you might be happier with 3.x or even have to use it. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Moving to Python 3.x Antranig Vartanian <antranig@pingvinashen.am> - 2015-05-09 20:30 +0200 Re: Moving to Python 3.x "Jason C. McDonald" <"i n d e l i b l e b l u e p e n "@ g m a i l . c o m . i n v a l i d> - 2015-05-09 12:29 -0700 Re: Moving to Python 3.x Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-09 13:49 -0600 Re: Moving to Python 3.x Terry Reedy <tjreedy@udel.edu> - 2015-05-09 15:58 -0400
csiph-web