The Python 3 Standard Library by Example 2nd Ed

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.

Banner

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.

Banner


Practical Machine Learning

Author: Sunila Gollapudi
Publisher: Packt Publishing
Pages: 468
ISBN: 978-1784399689
Print: 178439968X
Kindle: B00YSIL7MA
Audience: Developers new to Machine Learning
Rating: 3.0
Reviewer: Ian Stirk

This book aims to introduce you to both basic and more advanced features of Machine L [ ... ]



The Healthy Programmer

Author: Joe Kutner
Publisher: Pragmatic Bookshelf
Pages: 220
ISBN: 978-1937785314
Print: 1937785319
Kindle: B00FAXNM2A
Audience: Anyone with a sedentary lifestyle, specifically programmers
Rating: 5
Reviewer: Sue Gee

This book's subtitle is Get Fit, Feel Better and Keep Coding - can it really work miracl [ ... ]


More Reviews

Related Reviews

Last Updated ( Tuesday, 16 January 2018 )