Why you should use Python 3.6

in #programming7 years ago (edited)

If you are going to write software in Python, and you have the liberty to choose, you should use Python 3.6. Not Python 3.4 or Python 3.5.

Python 3.6 is compatible with the python steem APIs. Normally, I avoid upgrades to things because often things break. For example, I upgraded curl, and the new curl changed the way it's command line works. Because the command line syntax had changed, instructions that relied on it (ex: keybase.io) also broke.

There are times, when you need to stay put with older versions. The most important factor is without a doubt is what APIs are you going to need? If your software is going to run a controller for a motor that has an API designed to work with Python 2, then your project will probably be best done on Python 2.

So, if your software is not going to use APIs that demand legacy versions of Python, I want to suggest that Python 3.6 is the best because of formatted literals.

          name = "Fred"
          message = "His name is {name}"
          print(message)

This prints 'His name is Fred'. This is much cleaner way to combine literals and variables together. A little bit like Angular/JS. Python 3 in general distinguishes bytes from characters. This is important for Internationalization.

Coin Marketplace

STEEM 0.21
TRX 0.13
JST 0.030
BTC 67003.49
ETH 3502.34
USDT 1.00
SBD 2.87