Choose whether to use Python2 or Python3

Source: Internet
Author: User

Programming is more focused on the accumulation of programming thinking and experience.
PYTHON2/3 's thoughts are all in common,
There are only a few grammatical differences,
If you are familiar with Python to a certain extent,
In the case of Python2 only,
Can also quickly grasp the python3.

There is such a survey: 97.51% of users are still writing Python2 code 60% users write pyhton3 code 78.09% users write Python2 code 77.09% of the user recognition Python3

The following mainstream operating systems are already using Pyhton3 by default:

Arch Linux Ubuntu 16.04 LTS Fedora

Django 2.0 will no longer support Python 2.

Python2 is just doing some bug fixes, new hardware
and operating system compatibility-related maintenance work,
No more new features to join. Python2 will only support until 2020 years.
But Duyu production environment, or some important applications,
Will not migrate to Python3 for such a reason.
So in the future for a long time, python2 will exist.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.