Mastering Python Second Edition

The new edition of Mastering Python includes many new chapters and all chapters have either been revised or completely rewritten.

What’s new?

  • New Python features up to Python 3.10
  • Extensive section on Structural Pattern Matching (PEP 622/PEP 634). The Python Switch Statement.
  • Completely rewritten asyncio chapter.
  • New Scientific Python chapter featuring libraries such as numpy, scipy, pandas, numba, matplotlib and many others.
  • New Artificial Intelligence chapter featuring libraries such as PyTorch, TensorFlow, Keras, Scikit-Learn, OpenCV, NLTK and many others.
  • Exercise sections at the end of the chapters with the option to compare your solution to others:

All code samples in the book are available on Github to easily run yourself:

Bookmark and Share

About Rick van Hattem

Rick van Hattem is a Dutch Internet entrepreneur and co-founder of
No comments yet.

Leave a Reply