Choosing between Python 2 and 3
The story of Python 2 and Python 3 is long and full of fairly passionate debate. When Python 3 was released, the intention was to have all of the libraries that make Python 2 good enough to be upgraded to work with version 3. It turned out that many of the differences in the coding standards between the versions made the library upgrades too much work, and in other cases, the authors of these libraries refused to upgrade to Python 3 because they disagreed with the changes that came with the new major version.
If you use Python a lot, you'll probably end up using both, which makes for the least ideal scenario--some libraries are only available with one version or the other, and so you may end up being forced to use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access