News for hackers. Stuff that matters.
Re:Google's Python Class by mastazi on Tuesday March 06, 2018 @04:34PM (#16532296)
Python 3 has has become prevalent in usage around 2013-2014. I don't know anyone who is starting a Python 2 project as of now. In terms of library support, as of 2018 you get more library support on Python 3 [1]. Some new libraries coming out may still support Python 2, but many are Python 3 only. For example the latest Tensorflow is Python 3 only if you want to install it on Windows[2] and Django back in 2017 has completely removed Python 2 support [3]

[1] https://python3wos.appspot.com/

[2] https://www.tensorflow.org/install/install_windows

[3] https://docs.djangoproject.com/en/2.0/releases/2.0/

Re:Google's Python Class by coldtea on Tuesday March 06, 2018 @06:11PM (#16532935)
>Python 3 has has become prevalent in usage around 2013-2014.

Citation needed. Back then it was at best at 20%, and even today it's not much more (source: PYPY download statistics breakdown).

>I don't know anyone who is starting a Python 2 project as of now.

I know several. Any company with lots of Python 2 projects that are not going anywhere soon (Google is one of them), is probably also starting new Python 2 projects alongside them, they won't add 2 different versions to cater to.

Re:Google's Python Class by mastazi on Tuesday March 06, 2018 @06:35PM (#16533124)
> Any company with lots of Python 2 projects that are not going anywhere soon (Google is one of them), is probably also starting new Python 2 projects alongside them, they won't add 2 different versions to cater to.

Citation needed.

Edit: Oh and Tensorflow for Windows is made by Google and it's Python 3.5 or higher.