It was for Python 2, and the book was published many years ago, but Beazley's Python Library Reference book (if I remember the name correctly) was one of the best software reference books that I bought and read.
I googled, and this seems to be the current edition:
I googled, and this seems to be the current edition:
https://www.amazon.in/Python-Essential-Reference-Essentia-De...