blockchainguyy / learning-python

This is a repo to track my python learnings via github issues.
MIT License
0 stars 0 forks source link

python 2 vs python 3 #1

Closed blockchainguyy closed 5 years ago

blockchainguyy commented 5 years ago

A good comparison can be found here: https://learntocodewith.me/programming/python/python-2-vs-python-3/

blockchainguyy commented 5 years ago

When to use Python 2?

blockchainguyy commented 5 years ago

Python 3 pros:

blockchainguyy commented 5 years ago

A tabular comparison: https://www.guru99.com/python-2-vs-python-3.html Syntactical comparison: https://www.geeksforgeeks.org/important-differences-between-python-2-x-and-python-3-x-with-examples/

blockchainguyy commented 5 years ago

A good blog on static vs dynamic typing & strong vs weak typing: https://www.sitepoint.com/typing-versus-dynamic-typing/

blockchainguyy commented 5 years ago

Porting Python 2 code to python 3: https://docs.python.org/3/howto/pyporting.html