Python 3.9.0 — the latest stable release of Python is out!

Open-source enthusiasts from all over the world have been working on new, enhanced, and deprecated features for the past year. Though the beta versions were being rolled out for quite some time, the official release of Python 3.9.0 happened on October 5, 2020.

The official documentation contains all the details of the latest features and changelog. Through this post, I’ll walk you through a few cool features that may come in handy our day-to-day programming tasks.

We’ll check out the following:

  • Type hinting generics and flexible function and variable annotations
  • Union Operators in Dictionaries
  • **zoneinfo**** — Accessing and calculating time zones**
  • String methods to remove prefixes and suffixes
  • Other release highlights

To follow me along or to try out the new features, you should have Python 3.9 installed. I have used an environment manager called pyenv(alternatively, you can use conda) to have the latest version installed alongside my current version. You can also run it using the official docker image.

#programming-languages #python #programming

Python 3.9 — Hands-ON with the Latest Updates
1.15 GEEK