About Learning Python, 6th Edition

[Larger book cover]

[September 2024] A new, 6th Edition of the classic book Learning Python is coming soon.

After five months of writing, a final draft of this edition was submitted to its publisher in September 2024. Though currently estimates, this new edition will likely be released as a 1,400-page book in February 2025. It may also be available in "early release" form in December 2024.

This edition drops coverage of the now-sunsetted Python 2.X line, and updates its content to be current with Python 3.12 and the decade of changes since its prior edition. It also gives more focus to non-Windows platforms including smartphones, and trims some 250 estimated pages.

Among its new 3.X content, this edition covers f-string literals, named-assignment expressions, match statements, type hinting, async coroutines, star-unpacking proliferation, underscore digit separators, package main-script files, module attribute hooks, exception groups, dictionary-key insertion order, positional-only function arguments, hash-based byte-code files, and other additions, deprecations, and changes.

This page will be updated as the 6th Edition's logistics firm up. For now, you're welcome to read the current 5th Edition, which still serves as a useful introduction to the language. If you're able to wait, though, the 6th Edition will be more current with today's Python language and world, and will benefit from the improvements that naturally flow from a full rewrite cycle.

Resources

This book's local web pages reflect your device's dark-mode setting; toggle to mod.



[Home page] Books Code Blog Python Author Train Find ©M.Lutz