If the library you depend on only supports 2, -----------> use 2
If you like to pursue new things,------------>Use 3
If you have played 2 before and now want to play 3, --------> 2 to upgrade to 3 (refer to the link below) http://woodpecker.org.cn/peintopython3/porting-code-to -python-3-with...
According to the completeness of **, what 3 can do, 2 can also do, and what 2 can do, 3 can do better.
If you are a Virgo and are too confused, you might as well change to a language with no version differences,
According to the completeness of **, if python can do it, *** can also do it, and it may even do better.
It depends on the demand. Some modules such as twisted do not support python3. 2.7 is now mostly supported. If you cannot use a few modules that do not support 3.x, it is recommended to use 3
If you don’t have any historical baggage, just use 3 decisively.
I wrote a lot of code for 2 before, but I have no choice but to use 2.
Most commonly used libraries now support 3.
If the library you depend on only supports 2, -----------> use 2
If you like to pursue new things,------------>Use 3
If you have played 2 before and now want to play 3, --------> 2 to upgrade to 3 (refer to the link below)
http://woodpecker.org.cn/peintopython3/porting-code-to -python-3-with...
According to the completeness of **, what 3 can do, 2 can also do, and what 2 can do, 3 can do better.
If you are a Virgo and are too confused, you might as well change to a language with no version differences,
According to the completeness of **, if python can do it, *** can also do it, and it may even do better.
It depends on the demand. Some modules such as twisted do not support python3. 2.7 is now mostly supported. If you cannot use a few modules that do not support 3.x, it is recommended to use 3
Python3 has stricter syntax and more plug-ins
I am currently using python2. If I plan to write another server, I will take a look at python3
I’m still using 2, I don’t know why, I’m too lazy to change it
Python 2.7 is partially compatible with Python 3, which is a compromise.
Generally, Python 2.7 is installed on Linux systems
If you don’t have any historical baggage, just use 3 decisively. I wrote a lot of code for 2 before, but I have no choice but to use 2. Most commonly used libraries now support 3.