Table of Contents
Introduction 1
Book 1: Getting Started 7
Chapter 1: Starting with Python 9
Chapter 2: Interactive Mode, Getting Help, and Writing Apps 29
Chapter 3: Python Elements and Syntax 53
Chapter 4: Building Your First Python Application 63
Book 2: Understanding Python Building Blocks 85
Chapter 1: Working with Numbers, Text, and Dates 87
Chapter 2: Controlling the Action 127
Chapter 3: Speeding Along with Lists and Tuples 149
Chapter 4: Cruising Massive Data with Dictionaries 171
Chapter 5: Wrangling Bigger Chunks of Code 195
Chapter 6: Doing Python with Class 217
Chapter 7: Sidestepping Errors 251
Book 3: Working With Libraries 269
Chapter 1: Working with External Files 271
Chapter 2: Juggling JSON Data 307
Chapter 3: Interacting with the Internet 327
Chapter 4: Libraries, Packages, and Modules 343
Book 4: Using Artificial Intelligence 357
Chapter 1: Exploring Artificial Intelligence 359
Chapter 2: Building a Neural Network 369
Chapter 3: Doing Machine Learning 399
Chapter 4: Exploring Ai 421
Book 5: Doing Data Science 433
Chapter 1: Understanding the Five Areas of Data Science 435
Chapter 2: Exploring Big Data 441
Chapter 3: Using Big Data from Google Cloud 457
Book 6: Talking To Hardware 475
Chapter 1: Introducing Physical Computing 477
Chapter 2: No Soldering! Using Grove Connectors for Building 493
Chapter 3: Sensing the World 509
Chapter 4: Making Things Move 541
Book 7: Building Robots 569
Chapter 1: Introducing Robotics 571
Chapter 2: Building Your First Python Robot 579
Chapter 3: Programming Your Robot Rover 601
Chapter 4: Using Artificial Intelligence in Robotics 631
Index 667