Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'subject:Python': 0.06; 'bindings': 0.09; 'links.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; '2.7': 0.14; 'anyways,': 0.16; 'otherwise:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'unicode,': 0.16; 'employer': 0.16; 'url:)': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'code,': 0.22; 'issue.': 0.22; 'header:User-Agent:1': 0.23; '2.x': 0.24; 'question': 0.24; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; "i'm": 0.30; '3.x': 0.31; 'python"': 0.31; 'python2.7': 0.31; 'url:python': 0.33; 'there': 0.35; 'module.': 0.36; 'url:org': 0.36; 'starting': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'first': 0.61; 'here': 0.66; 'url:0': 0.67; '2.7.': 0.84; '2:30': 0.84; 'received:fios.verizon.net': 0.84; 'subject:Moving': 0.84; 'choice.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Moving to Python 3.x Date: Sat, 09 May 2015 15:58:13 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431201510 news.xs4all.nl 2889 [2001:888:2000:d::a6]:36917 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90246 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