Python All-in-One, 3rd Ed (For Dummies)

Authors: John Shovic and Alan Simpson
Publisher: For Dummies
Date: April 2024
Pages: 720
ISBN: 978-1394236152
Print: 1394236158
Kindle: B0CW1C834N
Audience: People wanting to learn Python
Rating: 2
Reviewer: Mike James
All-in-one refers to the fact that this is seven books put together - why?

This claims to be seven books in one, but if these are seven are also separately published books I can't find them. It really seems to be an excuse to bundle together chapters on different topics none of which would actually be complete enough to merit being a book in its own right. Of course, if you are looking for just such a mix this might be an advantage.

Banner

Books 1, 2 and 3 are a bit of a cheat in that putting them together gives you what you might expect to find in a standard introduction to Python. Book 1 is getting started, Book 2 is the core Python language and Book 3 is a random collection of applications. Treating these three books as sections in a single book introducing Python would seem fair. In this third edition the environment has changed to be Visual Studio Code and Jupiter within VS Code. If you want to use something else as a developement environment then this choice will be a negative but overall I think it is a good idea. The only IDE I would use in place of VS Code is Pycharm.

Another change is that AI assistants are mentioned in Chapter 1 as a way of writing Python code. I'm a bit puzzled by this as any reader about to embark on learning to program in Python is likely to be put off by the idea that they might as well no bother as AI can do all the programming they need for them. Perhaps we are about to enter an era where beginners books aren't aimed at dummies but programmers wanting to be subserviant to an AI. Interestingly AI doesn't play much of a role in the rest of the book.

We don't get to creating a program untill chapter 4 and on the way there is lots of discussion of features of the language that aren't going to make too much sense to a beginner knowing nothing about Python. For example there is a discussion of why indents make Python different but unless you know something about programming structure, which a beginner wouldn't, then it makes little sense.

After this things are very standard and we have a simple introduction to numbers, Lists, Tuples, Dictionaries and finally Class and objects. I can't say I liked the informal presentation, but you might find it friendly. What I did find more of a problem was the lack of insight into what was being introduced. The final part of the introduction, Book 3, deals with using files, working with JSON, using the Internet and packages, libraries and modules.

Overall we have a not particularly special 300-page introduction to Python and splitting it into 3 "books"  is just a gimmick.

Book 4 is a lightning introduction to AI - or rather to neural networks with NumPy, Tensorflow and Keras. At just over 100 pages you can't expect much depth and you don't get it. The idea of going from an introduction to Python to implementing a neural network strikes me as being a bad idea, but if you want to follow the instructions you might manage to build a simple neural network - to cover the rest of AI at the same level would take a really big book.

Book 5 is about data science and this is slightly less crazy than following an introduction to Python with AI. It uses NumPy, Pandas and MatPlot to do simple data processing. The last part of the book deals with using Google Cloud to source data. At just over 30 pages this is just insufficient.

Book 6 is about physical computing - mainly using a Raspberry Pi and, at first the GPIO Zero library. Nearly all of the electronics uses the Grove system of easy-to-use plugable boards. This makes reasonable sense for a beginner. Later we encounter DC motors, servos and steppers. Mostly the programs use off-the- shelf-drivers and the details of what is going on are glossed over. 

Book 7 is more physical computing and is focused on how to build a robot. It also uses some of the ideas from the AI chapters to implement a cat/not cat detector among others.

Conclusion

The main thing to say about this book is that it isn't seven books in one. At best it is four books in one - Python, data processing, AI and physical computing. But the data processing and AI are so slight they wouldn't stand as books in their own right.  The best way to characterise this book is that it covers what you need to know to implement the robot in the final section. Learn Python, AI and some embedded computing and then use it to build a robot is a better description of its contents,

The part of the book that deals with Python is nothing special and there are much better places to start. There is no overall feel of a logical presenation and very little in the way of deeper principles. Certainly basing it on Anaconda and having a huge section on getting started doesnt' do the reader any favors. Getting started with anything these days is tough, but not his tough.

The part of the book on AI is just insufficient and basically you have to take everything on trust. The part on phyiscal computing is shallow - it uses what software is available and never strays into an principles of electronics. The final part looks like a fun project but this is not the way to approach it - you need much more knowledge than you get from just this book.

The new edition is better in that it uses VS Code, but this still isn't a book suitable for a beginner, let alone a dummy.

For our recommendations of introductory books on Python  see Python Books For Beginners in our Programmer's Bookshelf section

  • Mike James is the author of  Programmer's Python: Something Completely Different series of books.Currently a three-volume set, it looks at what makes Python's approach to objects different from that of Java and other OO languages and is at intermediate level. He is also the co-author of Raspberry Pi IOT in Python with GPIO Zero, 2nd Ed, updated to cover the Pi 5 and Pi Zero 2W and THE latest version of the GPIO Zero library.

 

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


Machines Like Me

Author: Ian McEwan
Publisher: Vintage, 2019
Pages: 304
ISBN: 978-1529111255
Print: 1529111250
Kindle: B07HR6SGQ9
Audience: General
Rating: 4.5
Reviewer: Mike James
A novel about a synthetic human has become so much more relevant recently and guess what - it features Alan Turing.



Software Mistakes and Tradeoffs (Manning)

Author: Tomasz Lelek and Jon Skeet
Publisher: Manning
Date: June 2022
Pages: 426
ISBN: 978-1617299209
Print: 1617299200
Audience: C# developers
Rating: 4
Reviewer: Mike James
We all make mistakes - do you want to read about them?


More Reviews

<ASIN:B0CK3X93KF>

<ASIN:1871962749>

<ASIN:1871962595>

<ASIN:1871962668>

<ASIN:1871962854>

 

 

<ASIN:1871962765>

 

 

 

Last Updated ( Tuesday, 15 October 2024 )