Python Automation Cookbook 3rd edition: now with AI recipes.

Good news everyone! There’s a new edition of the Python Automation Cookbook, now the third edition. Now with a more colourful cover!

As with previous editions, it is aimed at people with knowledge of Python, but you don’t need to be a professional developer. It keeps all the recipes to automate common tasks from previous editions, but it has new content addressing the elephant in the room: AI. So there’s plenty of new exciting stuff like calling AI from your code (both remote and local), MCP servers, AI agents, etc. As well as tips on how to use GenAI tools to write code and help on development throughout the book, which includes proper caveats like security or risks on the usage of AI. The new AI content is over 100 new pages!

It is always exciting to receive physical copies

It’s written in the cookbook format: a collection of recipes you can read and reference independently, with chapters growing in complexity by combining recipes into bigger tasks. This makes the AI chapters especially powerful, since AI agents and MCP servers can reuse the earlier recipes as building blocks for complex workflows.

That makes five books now, it’s becoming quite a collection! They are all available in Amazon and in the Packt website.

Leave a comment