Re: [Tutor] Python 2 vs Python 3

2015-12-21 Thread Danny Yoo
Hi Ratheeshkumar, It probably makes the most sense to switch to Python 3; Python 3 was meant to have fewer idiosyncrasies than Python 2, and should be easier to learn. There is a document that summarizes the Python 2 -> Python 3 changes. It's here: https://docs.python.org/3/whatsnew/3.0.html. Yo

Re: [Tutor] Python 2 vs Python 3

2015-12-21 Thread Alan Gauld
On 21/12/15 04:34, vrkrathe...@live.com wrote: > Hi I am starting to learn Python with the help of head first python. > I have installed python 2.x.x. > But the book is explaining python 3 syntaxes. There are many differences between v2 and v3, not only in syntax but in module structure and cont

[Tutor] Python 2 vs Python 3

2015-12-21 Thread vrkratheesh
Hi I am starting to learn Python with the help of head first python. I have installed python 2.x.x.  But the book is explaining python 3 syntaxes. For example,  Avoiding a new line in print statement which made a confusion to me.  So is it wise I change to python or can anyone recommend any

Re: [Tutor] Python 2 Vs python 3

2014-07-15 Thread Cameron Simpson
On 13Jul2014 20:33, Alan Gauld wrote: I've been using python 3 almost exclusively for the last 4 months and the differences are much more significant than the headlines suggest. In particular the module structure and naming is very different - enough to confuse a beginner using a Python2 tutor

Re: [Tutor] Python 2 Vs python 3

2014-07-15 Thread wesley chun
*> From:* idiallo.s...@gmail.com *> Sent:* Sunday, July 13, 2014 9:16 AM *> To:* Python Tutor Mailing List *> Subject:* [Tutor] Python 2 Vs python 3 > > I am in the process to dive into python and start learning it. But most books > advice to install python 2 instead of ‎pyth

Re: [Tutor] Python 2 Vs python 3

2014-07-13 Thread Joseph Lee
Hi, Answers are below. From: Tutor [mailto:tutor-bounces+joseph.lee22590=gmail@python.org] On Behalf Of idiallo.s...@gmail.com Sent: Sunday, July 13, 2014 9:16 AM To: Python Tutor Mailing List Subject: [Tutor] Python 2 Vs python 3 I am in the process to dive into python and start

Re: [Tutor] Python 2 Vs python 3

2014-07-13 Thread Mark Lawrence
On 13/07/2014 20:33, Alan Gauld wrote: But there are a lot of subtle changes under the hood - extra options in functions for example. After about a month I gave up on my intention to create dual version code - it was just too much work. FTR tools that are meant to ease the pain. I've never u

Re: [Tutor] Python 2 Vs python 3

2014-07-13 Thread Alan Gauld
On 13/07/14 18:50, Joel Goldstick wrote: I haven't tried python 3.x yet. The two differences that get talked about most are 'print' is a statement in 2.x and a function in 3.x. Unicode support was reworked in 3.x and so if you are working with non-english characters, you might lean to using 3.x

Re: [Tutor] Python 2 Vs python 3

2014-07-13 Thread Steven D'Aprano
On Sun, Jul 13, 2014 at 12:16:16PM -0400, idiallo.s...@gmail.com wrote: >‎Hi All, >I am in the process to dive into python and start learning it. But most >books advice to install python 2 instead of ‎python 3. Any advice from >the ones with the experiences and what is the main diff

Re: [Tutor] Python 2 Vs python 3

2014-07-13 Thread Joel Goldstick
On Sun, Jul 13, 2014 at 12:16 PM, wrote: > ‎Hi All, > > I am in the process to dive into python and start learning it. But most > books advice to install python 2 instead of ‎python 3. Any advice from the > ones with the experiences and what is the main difference? Many people advise using 3.x

[Tutor] Python 2 Vs python 3

2014-07-13 Thread idiallo . spsu
‎Hi All,I am in the process to dive into python and start learning it. But most books advice to install python 2 instead of ‎python 3. Any advice from the ones with the experiences and what is the main difference? Thanks,I.Sent from my BlackBerry 10 smartphone.