| Greetings,
Cacophony7 wrote:
> what's the significant difference between Python 2 and Python 3?
The big difference is unicode; Python3's distinction between
str and bytes and bytearrays is The Best Way to handle unicode,
and I hope all future languages will borrow it.
"Py3 builds on the years of experience with Py2 and omits some
of its misfeatures". For example, in Py3 5/2 is 2.5, whereas in
Py2 5/2 is 2 but 5/2.0 is 2.5, lots of other stuff. Search for:
Moving from Python 2 to Python 3
I've been writing Python for years, and I've never used Python2.
It's frozen. IMHO, I recommend you start with Python3.
But, as you can tell, opinions differ on this point :-)
Also, apologies for the off-topic-ness...
Regards, Peter Billam
http://www.pjb.com.au pj@pjb.com.au (03) 6278 9410
"Follow the charge, not the particle." -- Richard Feynman
from The Theory of Positrons, Physical Review, 1949
|