Which version of Python should I use?

I am starting a new Python web project. In most frameworks, everyone rushes to the latest version, however, it seems this is not the case for Python 3.x.

Which version of Python should new projects use?

+3
source share
5 answers

Many third-party Python modules still require Python 2.x (e.g. numpy, scipy). If you will use any of them or if you still do not know which modules you need and want your options to open, then stick with Python 2.x.

If you know that all the modules you need should work with Python 3.x, go with that.

+3
source

-, python, -.

, , . python 3 - -, python 2.6.

, python, ( python 2.4.4, , - 2.5 2.6, )

+2

Python 2.6, Python 3.x, - , Python 2.5. , Python 3.x (, - , Unicode ), Python- - Python 2.x. , Python 2.6, Python 3.x.:)

+1

Python 3 - , " " ( Python, /, Python 3 ..).

, , Python 3 , - Python 2, , , , . , 2.6 , , 3.x, 3.x.:-) , ( ).

Python 3.x 2.x, Python ... 2.x, . Python 3 .

, - , , , Python 2 - , . , Python 2.7 , Python 3.0 3.1. (3.2 .) , Python 2 EOL'd - 2.x 3.x. , , Python 2.x.

, (C D) (!) , Python, Python 3.x, - 2.6 , , Python 3.

, Python 3 Python 2. , PyCon , -.

+1

2.5 Google App Engine 2.6 Django.

0

Source: https://habr.com/ru/post/1743651/


All Articles