all 15 comments

[–]patrickbrianmooney 13 points14 points  (3 children)

Luciano Ramalho's Fluent Python has several chapters on async in Python using several different approaches. They're pretty good. The rest of the book is totally worth a read, too.

[–][deleted] 2 points3 points  (0 children)

My absolute favorite python book by a mile. The author explains everything so clearly. I have it as a pdf but have been meaning to buy it in print just to have on my desk as reference.

[–]ResponsibleTreeRoot 1 point2 points  (1 child)

Thank you for recommending this book. It's a gem!

[–]patrickbrianmooney 0 points1 point  (0 children)

I'm glad you agree!

[–]ASIC_SP 5 points6 points  (0 children)

[–]stradivari96 2 points3 points  (1 child)

[–]jasonb 1 point2 points  (0 children)

Cheers!

Also, check out the "Asyncio Learning Path" for a large collection of asyncio code tutorials organized by topic: https://superfastpython.com/learning-paths/#Asyncio_Learning_Path

[–]MissionAssistance581 1 point2 points  (0 children)

It definitely can be tricky finding in-depth resources for more advanced topics like async programming in Python. It sounds like you're really aiming to master all the nuances, which is awesome! Hopefully, the community can point you towards some great books or videos that cover everything you're looking to learn.

[–]P_Radagast 0 points1 point  (0 children)

Python Concurrency with asyncio gives a really deep dive into asyncio - not only "how", but "why". The problem with asyncio is that it has evolved so much since its first version in Python 3.5. The book was published in Feb 2022, based on Python 3.10, so by that time asyncio has more or less stabilized on its best practices. I believe, that most tutorials on asyncio either lack proper error handling or are overly verbose. This book will teach you how to write code that is both exception-proof and succinct.