3 ms·
So let's say you have a CS background and want to pick up python today - is it worth it to read up on the 2.0 stuff or just go right for 3.0 seeing as 3.0 is "b
by kcy 18y ago
So let's say you have a CS background and want to pick up python today - is it worth it to read up on the 2.0 stuff or just go right for 3.0 seeing as 3.0 is "backwards incompatible"? Is there a mass exodus to 3.0 happening or are there going to be a lot of people (e.g. researchers in other disciplines whose life is only peripherally programming) who are going to stick with the 2.0 that they already know and love?
And is this (http://docs.python.org/3.0/ http://docs.python.org/3.0/) the best place to look for 3.0 learning material or is it better to do the Dive Into Python (for v2.0) thing then figure out the 3.0 differences?
- codedivine 18y ago3.0 is not backwards compatible. Whether to use 3.0 or 2.x depends upon the libraries you want to use. Some library writers are holding off the migration to 3.x until 3.0 is included as default in the popular linux distros.
- joshsharp 18y agoI would suggest learning Python 2.x first. The v2 branch is not going away overnight, and you're going to pick up Python 3.0 fairly quick after you know 2.0, so you may as well learn the version you can use straight away (with frameworks, libraries etc.) and learn your way up to 3.0 proficiency from there.
- EliAndrewC 18y agoAgreed, with the addendum that you should learn on Python version 2.6, which lets you import many of the features from 3.0 on a per-file basis to make the transition to 3.0 easier.