Artwork

Nội dung được cung cấp bởi Real Python. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Real Python hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.
Player FM - Ứng dụng Podcast
Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !

Exploring the New Features of Python 3.9

1:14:58
 
Chia sẻ
 

Manage episode 274062933 series 2637014
Nội dung được cung cấp bởi Real Python. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Real Python hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.

Python 3.9 has arrived! This week on the show, former guest and Real Python author Geir Arne Hjelle returns to talk about his recent article, “Python 3.9: Cool New Features for You to Try”. Also joining the conversation is Real Python video course instructor and author Christopher Trudeau. Christopher has created a video course, which was released this week also, based on Geir Arne’s article. We talk about time zones, merging dictionaries, the new parser, type hints, and more.

Geir Arne and Christopher not only cover the new features, but they also offer advice about ways you might incorporate them into your code. We discuss what you should think about before updating your code.

Course Spotlight: Cool New Features in Python 3.9

In this course, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.

Topics:

  • 00:00:00 – Introduction
  • 00:02:02 – Proper Time Zone support
  • 00:05:38 – What to do if your OS does not have tzdata?
  • 00:07:11 – How do you add time zone info to your Python code?
  • 00:08:24 – Historic changes 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 type hints
  • 00:32:36 – Video Course Spotlight
  • 00:33:26 – The PEG parser
  • 00:37:51 – Potential for new enhancements in upcoming releases
  • 00:42:40 – String methods to remove prefixes and suffixes
  • 00:44:22 – Type hint lists and dictionaries directly
  • 00:47:29 – Topological Sort
  • 00:52:03 – Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
  • 00:53:50 – New HTTP status codes
  • 00:58:29 – Should you upgrade?
  • 01:07:58 – Potential issue with Python 3.10 versioning
  • 01:10:18 – What are you excited about in the world of Python?
  • 01:12:52 – What do you want to learn next?
  • 01:14:08 – Thanks and goodbyes

Show Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

202 tập

Artwork
iconChia sẻ
 
Manage episode 274062933 series 2637014
Nội dung được cung cấp bởi Real Python. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Real Python hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.

Python 3.9 has arrived! This week on the show, former guest and Real Python author Geir Arne Hjelle returns to talk about his recent article, “Python 3.9: Cool New Features for You to Try”. Also joining the conversation is Real Python video course instructor and author Christopher Trudeau. Christopher has created a video course, which was released this week also, based on Geir Arne’s article. We talk about time zones, merging dictionaries, the new parser, type hints, and more.

Geir Arne and Christopher not only cover the new features, but they also offer advice about ways you might incorporate them into your code. We discuss what you should think about before updating your code.

Course Spotlight: Cool New Features in Python 3.9

In this course, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.

Topics:

  • 00:00:00 – Introduction
  • 00:02:02 – Proper Time Zone support
  • 00:05:38 – What to do if your OS does not have tzdata?
  • 00:07:11 – How do you add time zone info to your Python code?
  • 00:08:24 – Historic changes 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 type hints
  • 00:32:36 – Video Course Spotlight
  • 00:33:26 – The PEG parser
  • 00:37:51 – Potential for new enhancements in upcoming releases
  • 00:42:40 – String methods to remove prefixes and suffixes
  • 00:44:22 – Type hint lists and dictionaries directly
  • 00:47:29 – Topological Sort
  • 00:52:03 – Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
  • 00:53:50 – New HTTP status codes
  • 00:58:29 – Should you upgrade?
  • 01:07:58 – Potential issue with Python 3.10 versioning
  • 01:10:18 – What are you excited about in the world of Python?
  • 01:12:52 – What do you want to learn next?
  • 01:14:08 – Thanks and goodbyes

Show Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

202 tập

كل الحلقات

×
 
Loading …

Chào mừng bạn đến với Player FM!

Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.

 

Hướng dẫn sử dụng nhanh