goodgrief
goodgrief

Reputation: 408

Which Python version used in Django project? 2 or 3?

When I open someone's Django project, I need a time for understanding which Python version is used here. I try to find print or print() methods, but some Django projects contain both print methods. How I can at once know, which version of Python is used in the Django project?

Upvotes: 0

Views: 1922

Answers (1)

azillion
azillion

Reputation: 46

This is a list of the syntax that isn't backwards compatible with python 2. Use it to determine their version.

What’s New In Python 3.0

Upvotes: 1

Related Questions