Author: Doug Hellmann
Publisher: Addison Wesley
Date: June 2017
Pages: 1456
ISBN: 978-0134291055
Print: 0134291050
Kindle: B072QZZDV7
Audience: Python developers
Rating: 5
Reviewer: Alex Armstrong

An up-to-date, Python 3, reference work on the standard library - essential for some.

This is an up-dated version of a book that we said needed a Python 3 version and, despite it taking a long time, here it is.

Once it was enough to master a language, but now you also have to master the frameworks that surround them. Python is an easy language to learn, but then you have its Standard Library to navigate you way through. If you don't know what is in the library you might well waste a great deal of time reinventing the wheel. Equally to know something exists but not to know exactly what it can do is a problem. This book attempts to show you the Standard Library in detail and so get you up to speed creating real Python programs.

The book is based on the popular "Python Module of the Week" blog series which has now been updated to Python3. You can still visit the blog and read the accounts at https://pymotw.com/3/ and the original Python 2.7 version is also still available.

However, it has to be admitted that if you don't want the convenience of the book the website provides the same information for free. Having used the word "convenience" it has to be pointed out that at 1456 pages this is not an easy book to physically read.

The "by example" part of the title is reasonably accurate. The different functions and data structures are explained and then their use is illustrated by a, sometimes quite long, example. You could say that the examples are not specific enough and you can find exact answers by searching the web but this is more about the general use of the functions and it is up to you to be skilled enough to put them to work.

The topics covered are pretty much what you would expect: text. data structures, algorithms, dates and times, mathematics, the file system, data persistence and exchange, data compression and archiving, cryptography, processing and threads, networking, internet, email, application building blocks, internationalization and localization, tools, runtime features, language tools and finally modules and packages.

This is a big book and I certainly haven't read it from cover to cover. In most cases you are going to use it to clarify how some part of the library works when you have a specific problem to solve and in this role it makes excellent background reading.

 

 

To get very much from this book you have to be able to program in Python and this means it isn't for the beginner. At what level you would start to get something from the book is difficult to say, but even intermediate and advanced Python programmers will find features of the library they didn't know about.

There is a lot of good code in this book and good code is worth buying.

 

To keep up with our coverage of books for programmers, follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

Android: Pocket Primer

Author: Oswald Campesato
Publisher: Mercury Learning
Pages: 250
ISBN: 978-1683920885
Print: 1683920880
Kindle: B071D4T7J7
Audience: Java Programmers
Rating: 4
Reviewer: Mike James Can Android really fit in your pocket?

+Full Review
Electronics For Kids For Dummies

Author: Cathleen Shamieh 
Publisher: Wiley 
Pages: 352 
ISBN: 978-1119215653
Print:111921565X
Kindle:B01D24T9A2
Audience: Kids 
Rating: 3
Reviewer:  Harry Fairhead A book that introduces electronics to kids - what could be a better preparation for the modern world?

+Full Review
More Reviews

Related Reviews