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


Modern Mathematics and Applications in Computer Graphics and Vision

Author: Hongyu Guo
Publisher: World Scientific
Pages: 500
ISBN: 978-9814449328
Print: 9814449334
Kindle: B00KF43NF0
Audience: Competent mathematicians interested in computer graphics.
Rating: 4.5
Reviewer: Mike James

Math is the foundation of computer graphics and vision so this book seems  [ ... ]



Blockchain For Dummies 2e

Author: Tiana Laurence
Publisher: Wiley
Date: May 2019
Pages: 256
ISBN: 978-1119555018
Print: 1119555019
Kindle: B07QGHDQMV
Audience: Managers needing to sound convincing and other non-technical readers
Rating: 4.5
Reviewer: Alex Armstrong

The blockchain is still being hyped as the next revolution. Time for [ ... ]


More Reviews

Related Reviews

Last Updated ( Tuesday, 16 January 2018 )