Oct 09, 2020 1h 14m
Python 3.9 has arrived! This week on the present, former visitor and Real Python writer Geir Arne Hjelle returns to speak about his latest article, “Python 3.9: Cool New Features for You to Try”. Also becoming a member of the dialog is Real Python video course teacher and writer Christopher Trudeau. Christopher has created a video course, which was launched this week additionally, primarily based on Geir Arne’s article. We speak about time zones, merging dictionaries, the brand new parser, sort hints, and extra.
Geir Arne and Christopher not solely cowl the brand new options, however additionally they supply recommendation about methods you would possibly incorporate them into your code. We focus on what it is best to take into consideration earlier than updating your code.
Course Spotlight: Cool New Features in Python 3.9
In this course, you’ll discover a number of the coolest and most helpful options within the newly launched Python 3.9. You’ll learn the way Python 3.9 makes it simpler to work with time zones, dictionaries, decorators, and a number of other different methods that may make your code cleaner and extra environment friendly.
- 00:00:00 – Introduction
- 00:02:02 – Proper Time Zone assist
- 00:05:38 – What to do in case your OS doesn’t have tzdata?
- 00:07:11 – How do you add time zone data to your Python code?
- 00:08:24 – Historic adjustments to time zones
- 00:10:48 – New operators for updating dictionaries
- 00:15:44 – Geir Arne’s PyCon 2020 decorators tutorial
- 00:18:02 – Changes to decorator syntax
- 00:24:08 – Annotated sort hints
- 00:32:36 – Video Course Spotlight
- 00:33:26 – The PEG parser
- 00:37:51 – Potential for brand new enhancements in upcoming releases
- 00:42:40 – String strategies to take away prefixes and suffixes
- 00:44:22 – Type trace lists and dictionaries immediately
- 00:47:29 – Topological Sort
- 00:52:03 – Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
- 00:53:50 – New HTTP standing codes
- 00:58:29 – Should you improve?
- 01:07:58 – Potential problem with Python 3.10 versioning
- 01:10:18 – What are you enthusiastic about on this planet of Python?
- 01:12:52 – What do you wish to be taught subsequent?
- 01:14:08 – Thanks and goodbyes