2 ms·
Just import everything from the __future__ package at the top of each file when writing code. If you do that, any project you create won't take more than a day
by Alex3917 10y ago
Just import everything from the __future__ package at the top of each file when writing code. If you do that, any project you create won't take more than a day or two to upgrade to Python 3, so even though it's confusing you don't really need to think much about it until you're ready to upgrade.
http://python-future.org/imports.html http://python-future.org/imports.html
Basically don't worry about the MOOCs being in Python 2, the differences are trivial and you don't really need to understand them to be going down the right path.