Some New Features in Python 3.9

  • 89

In this video I go over four new features in Python 3.9: new syntax for merging/updating dicts, native timezone support, the use of collection classes as opposed to the typing model for type support, and removeprefix and removesuffix method for strings.

In this video I go over four new features in Python 3.9: new syntax for merging/updating dicts, native timezone support, the use of collection classes as opposed to the typing model for type support, and removeprefix and removesuffix method for strings.

https://docs.python.org/release/3.9.0/whatsnew/3.9.html

Get the code here: https://prettyprinted.com/l/wOS

00:00 - Intro
00:22 - Dict Merge/Update
03:33 - Native Timezones
06:22 - Collection Type Hints
08:48 - str.removeprefix