3 ms·
Learn 3 but also know 2. They're not that different: the concepts and ethos is the same, the APIs have been shuffled, some lower-level details are different, an
by niftich 10y ago
Learn 3 but also know 2. They're not that different: the concepts and ethos is the same, the APIs have been shuffled, some lower-level details are different, and in 3 text strings and byte sequences are domain-separated.
You can examine the docs [1] or source for Six, a compatibility shim. Whether or not you choose to use Six in your code -- adding another dependency -- a quick glean of the docs should familiarize you with how the two versions are different.
[1] http://pythonhosted.org/six/ http://pythonhosted.org/six/