Re: [Tutor] Bad time to get into Python?

2008-02-04 Thread Dotan Cohen
On 04/02/2008, Andre Roberge <[EMAIL PROTECTED]> wrote: > I have complete unit tests for about 20 of the modules I wrote and it > was very easy to make them work (with no errors) under all 4 Python > versions. There are only a small number of places where the > transition from 2.x to 3.0 is g

Re: [Tutor] Bad time to get into Python?

2008-02-04 Thread Andre Roberge
On Feb 4, 2008 1:26 PM, Eric Brunson <[EMAIL PROTECTED]> wrote: > > Dotan Cohen wrote: > > Like I mentioned earlier, I'm more interested in my learning being 3.x > compatible, not my scripts. If all I need to do is learn to print("") > instead of print"" then that's fine. > > > Basically, if you

Re: [Tutor] Bad time to get into Python?

2008-02-04 Thread Eric Brunson
Dotan Cohen wrote: On 03/02/2008, Kent Johnson <[EMAIL PROTECTED]> wrote: I did a little research on the question of running the same script unmodified in Python 2.6 and 3.0. It seems that there is no consensus opinion and it may depend on your personal tolerance for compatibility cruft. H

Re: [Tutor] Bad time to get into Python?

2008-02-04 Thread Dotan Cohen
On 03/02/2008, Kent Johnson <[EMAIL PROTECTED]> wrote: > I did a little research on the question of running the same script > unmodified in Python 2.6 and 3.0. It seems that there is no consensus > opinion and it may depend on your personal tolerance for compatibility > cruft. Here is a c.l.py t

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Kent Johnson
I did a little research on the question of running the same script unmodified in Python 2.6 and 3.0. It seems that there is no consensus opinion and it may depend on your personal tolerance for compatibility cruft. Here is a c.l.py thread of interest: http://groups.google.com/group/comp.lang.pyt

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Kent Johnson
Dotan Cohen wrote: > Thanks. My concern is not that the code won't run on Python3, rather, > that the effort that I put into learning 2.x will be wasted when 3.x > will be current. No, it will not be wasted. 3.0 is not a new language, it is a major tuneup of the existing language. > Now I'm a b

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Dotan Cohen
On 03/02/2008, Kent Johnson <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > The little programming that I need I have been able to get away with > > silly php and bash scripts. However, my needs are getting bigger and I > > see Python as an ideal language for my console apps, and the > > oc

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Kent Johnson
Dotan Cohen wrote: > The little programming that I need I have been able to get away with > silly php and bash scripts. However, my needs are getting bigger and I > see Python as an ideal language for my console apps, and the > occasional GUI that I might write for the wife. However, with the > com

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Thomas Pani
Dotan Cohen wrote: > However, with the coming of Python3 and the new syntax, is this a bad time to > start learning Python? Not at all, I'd say. Changes will be fairly small, with the main changes being: - print is replaced by a print() function - / will become the float division operator - cha

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Dotan Cohen
On 03/02/2008, Alan Gauld <[EMAIL PROTECTED]> wrote: > > "Dotan Cohen" <[EMAIL PROTECTED]> wrote > > > coming of Python3 and the new syntax, is this a bad time to start > > learning Python? I don't want to learn 2.x if 3.x will replace it, > > 3.x won't be the end of changes in Python, amy more tha

Re: [Tutor] Bad time to get into Python?

2008-02-03 Thread Alan Gauld
"Dotan Cohen" <[EMAIL PROTECTED]> wrote > coming of Python3 and the new syntax, is this a bad time to start > learning Python? I don't want to learn 2.x if 3.x will replace it, 3.x won't be the end of changes in Python, amy more than other languages change. While the changes for 3.x will be bigg

[Tutor] Bad time to get into Python?

2008-02-03 Thread Dotan Cohen
The little programming that I need I have been able to get away with silly php and bash scripts. However, my needs are getting bigger and I see Python as an ideal language for my console apps, and the occasional GUI that I might write for the wife. However, with the coming of Python3 and the new sy