What is the recommended python version for the Django platform?

* Note. I have never done anything like this before (Completely newbie), just abit in Python 2.7.3, like a year ago.

As a name, I check part of the question, but that was back in 2011-2013.

I would like to create a simple website, work like a kickstart, in addition, it does not have real-time chat. Just a simple post / comment.

And yes, I know that the disadvantage is the supported library, but the problem is that I do not know any of the libraries that I should use.

Which version should I use? Any suggestion?

I am doing research https://wiki.python.org/moin/Python2orPython3#fnref-4fcb00922956f144dafd52e4f75d82631e225d1b

+4
source share
3 answers

Currently (February 2017) the choice is clear for me - Python 3. Django fully supports it with 1.6 and, moreover, Django 2.0 will be Python3.5 + only .

To check if your dependency supports Python-3.x or not, use Can I use the Python 3 service? . Also check out the Django Packages directory for reusable Django applications - among other features, there is an indication of whether the 3.x package supports or not.

In addition, there were many topics on the topic:


Old answer:

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

Python 2 Python 3 ? Python :

?

, , , .

, , , 2.x. , Python-3.x. , , 2.x - Python 2.7.7.

+10

2.7 - .

3.x, 2.x

+3

In current and older versions of Django, you can use up to version 3.2 or 3.3, but I believe that Python 3.5 is not supported until Django releases a new version 1.7, which everyone is waiting for, because then we can remove the line called " south "of our requirement. txt.

+1
source

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


All Articles