The Python 3 Standard Library by Example 2nd Ed
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


Visualizing Graph Data

Author: Corey Lanum
Publisher: Manning Publications
Pages: 210
ISBN: 978-1617293078
Print: 1617293075
Audience: Business users
Rating: 4
Reviewer: Kay Ewbank

It's easy to gather data, less easy to work out what the relationships in the data are. This book shows how to display information using grap [ ... ]



Secure Coding in C and C++ 2nd Edition

Author: Robert C. Seacord
Publisher: Addison-Wesley
Pages: 600
ISBN: 978-0321822130
Print:0321822137
Kindle:B00C0OBZI0
Audience: Experienced C/C++ Programmers
Rating: 4.5
Reviewer: Mike James

In C we need to keep the security of our code in mind all the time otherwise it can be compromised and form a rou [ ... ]


More Reviews

Related Reviews

Last Updated ( Tuesday, 16 January 2018 )
 
 

   
Banner
RSS feed of book reviews only
I Programmer Book Reviews
RSS feed of all content
I Programmer Book Reviews
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.