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


Groups > comp.lang.python > #6513

Re: Beginner needs advice

References (4 earlier) <BANLkTi=JCsVG1K++rz=VAgh_NSVXLe4Edw@mail.gmail.com> <mailman.2070.1306328295.9059.python-list@python.org> <VJODp.4281$wM1.3392@newsfe05.iad> <4ddfc8ae$0$29996$c3e8da3$5496439d@news.astraweb.com> <p%TDp.5771$cs1.3817@newsfe15.iad>
Date 2011-05-29 08:46 +0300
Subject Re: Beginner needs advice
From Dotan Cohen <dotancohen@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2212.1306647995.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, May 27, 2011 at 23:40, harrismh777 <harrismh777@charter.net> wrote:
> You have erected a straw-man... once again.
>

I think that is a red herring, not a strawman.

> Most 2.x code *will not* run correctly in 3.x/  Most of the best
> improvements and enhancements of 3.x will not back-port to below 2.7, and
> almost none of them will back-port before 2.6 (class decorations, for
> instance).
>

Although it is true that 2.x code will not run in a 3.x environment,
the changes to the code are minimal. This would be akin to saying that
a 2008 Peugeot 407 will not drive on a Canadian road because the
license plate is a different shape. Just go an put a different plastic
license plate holder on the Peugeot and it will run fine on the
Canadian road. The changes to bring Python 2 code into Python 3 code
are minimal, and it would be a terrific learning experience for the OP
to go back and revise his old code to do just that.

Furthermore, the OP is not just learning Python for the fun of
learning Python. If that were the case, then I would agree that Python
3 is the way to go. The OP needs to use imaging libraries which may
not yet work in Python 3 (I have not checked, but it is very likely
that they do not). Therefore Python 3 is a non-starter in any case.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Thread

Re: Beginner needs advice "Colin J. Williams" <cjw@ncf.ca> - 2011-05-25 08:57 -0400
  Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-27 09:40 -0500
    Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-27 15:52 +0000
      Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-27 15:40 -0500
        Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-28 09:09 +1000
          Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-27 20:02 -0500
            Re: Beginner needs advice Ethan Furman <ethan@stoneleaf.us> - 2011-05-27 18:30 -0700
              Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-28 14:21 -0500
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-29 05:47 +1000
                Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-28 21:02 -0500
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-29 12:26 +1000
                Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-29 14:09 +0000
                Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 19:32 -0500
                Re: Beginner needs advice "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2011-05-31 01:58 +0100
                Re: Beginner needs advice Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-30 22:20 -0700
                Re: Beginner needs advice Ben Finney <ben+python@benfinney.id.au> - 2011-05-31 15:48 +1000
                Re: Beginner needs advice MRAB <python@mrabarnett.plus.com> - 2011-05-31 17:59 +0100
                Re: Beginner needs advice Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-31 10:22 -0700
                Re: Beginner needs advice Terry Reedy <tjreedy@udel.edu> - 2011-05-30 21:34 -0400
                Re: Beginner needs advice Terry Reedy <tjreedy@udel.edu> - 2011-05-30 21:47 -0400
                Re: Beginner needs advice Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-30 22:20 -0700
                Re: Beginner needs advice Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-05-30 22:35 -0700
            Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-28 05:40 +0000
        Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-28 06:15 +0000
          Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-28 21:33 -0500
            Re: Beginner needs advice Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-29 02:06 -0600
              Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 19:43 -0500
                Re: Beginner needs advice Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-30 19:16 -0600
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-31 12:27 +1000
                Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 22:02 -0500
            Re: Beginner needs advice Jason Tackaberry <tack@urandom.ca> - 2011-05-29 15:28 -0400
              Re: Beginner needs advice rantingrick <rantingrick@gmail.com> - 2011-05-29 16:00 -0700
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-30 09:31 +1000
              Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 19:44 -0500
            Re: Beginner needs advice rantingrick <rantingrick@gmail.com> - 2011-05-29 15:15 -0700
            Re: Beginner needs advice Dotan Cohen <dotancohen@gmail.com> - 2011-05-31 20:56 +0300
            Re: Beginner needs advice Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-31 12:29 -0600
            Re: Beginner needs advice Dotan Cohen <dotancohen@gmail.com> - 2011-05-31 21:42 +0300
        Re: Beginner needs advice Dotan Cohen <dotancohen@gmail.com> - 2011-05-29 08:46 +0300
      Re: Beginner needs advice Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-05-28 07:06 +0200
        Re: Beginner needs advice Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-05-28 08:38 +0200
          Re: Beginner needs advice Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-05-28 08:42 +0200
          Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-28 16:44 +1000
          Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-28 08:13 +0000
        Re: Beginner needs advice "D'Arcy J.M. Cain" <darcy@druid.net> - 2011-05-28 08:38 -0400

csiph-web