Python Will be Dead in 2021?

A review of the final version of Python 3.9

Python is one of the most popular and progressing programming languages. Based on TIOBE, a software quality company stated that Python is an aggressive programming language. In 2020, Python is on top 2, replacing Java. But, number one is still C. It was an impressive achievement for Python in the last 20 years.

x = {"dict1": "x1", "dict2": "x2"}
y = {"dict2": "y1", "dict3": "y2"}
# merge dict
x | y
{'dict1': 'x1', 'dict2': 'y1', 'dict3': 'y2'}
x = {"dict1": "x1", "dict2": "x2"}
y = {"dict2": "y1", "dict3": "y2"}
# update dict x
x |= y
{'dict1': 'x1', 'dict2': 'y1', 'dict3': 'y2'}
2020-10-31 12:00:00-07:00
string = 'Hello World'# remove prefix
string.removeprefix('Hello')
' World'
string = 'Hello World'# remove prefix
string.removesuffix('World')
'Hello '

References

  1. TIOBE Index for November 2020. Python is unstoppable and surpasses Java. https://www.tiobe.com/tiobe-index/
  2. Google Colaboratory. https://colab.research.google.com/
  3. KDnuggets. 2020. A complete guide to Google Colab for Deep Learning — KDnuggets. https://www.kdnuggets.com/2020/06/google-colab-deep-learning.html
  4. Eclipse Foundation’s IoT Developer Survey. 2018. https://www.slideshare.net/kartben/iot-developer-survey-2018?ref=https://blog.benjamin-cabe.com/2018/04/17/key-trends-iot-developer-survey-2018
  5. Wikipedia. Python Programming Language. https://en.wikipedia.org/wiki/Python_(programming_language)
  6. Klingenberg R, Vosjoli P, Barker D, Barker T: The Ball Python Manual. Mission Viejo, CA, Bowtie, 1995.
  7. What’s new in Python. https://docs.python.org/3/whatsnew/

Python Programmer || Data Scientist || Bayesian Astronomer