Python 3 is the future

Python 3 has been around since 2008. It took the scientific community until about 2013 to make the transition.

Python 2 will be deprecated in 2020. Unfortunately, there is still quite a bit of Python 2 code around, also in examples on the web. You should stay away from those :)