Python All-in-One For Dummies

Höfundur: John Shovic (Útgáfa: 3)
Python All-in-One For Dummies

Kaup valmöguleikar

Everything you need to know to get into Python coding, with 7 books in one Python All-in-One For Dummies is your one-stop source for answers to all your Python questions. From creating apps to building complex web sites to sorting big data, Python provides a way to get the work done. This book is great as a starting point for those new to coding, and it also makes a perfect reference for experienced coders looking for more than the basics.

Apply your Python skills to data analysis, learn to write AI-assisted code using GitHub CoPilot, and discover many more exciting uses for this top programming language. Get started coding in Python—even if you’re new to computer programming Reference all the essentials and the latest updates, so your code is air-tight Learn how Python can be a solution for large-scale projects and big datasets Accelerate your career path with this comprehensive guide to learning Python Experienced and would-be coders alike will love this easy-to-follow guide to learning and applying Python.

Nánar um bókina

Útgefandi
Wiley Professional Development (P&T)
ISBN
9781394236169
Print ISBN
9781394236152
Format
ePub
Útgáfa
3
Höfundar
John Shovic
Tungumál
English
Útgefið
2024-03-07
Prent takmörkun á líftíma
100
Prent takmörkun
10
Afritunar takmörkun
2

Kaflar

  • Cover
  • Title Page
  • Copyright
  • Introduction
  • About This Book
  • Foolish Assumptions
  • What to Buy to Do the Projects in This Book
  • Icons Used in This Book
  • Beyond the Book
  • Where to Go from Here
  • Book 1: Getting Started
  • Chapter 1: Starting with Python
  • Why Python Is Hot
  • Choosing the Right Python
  • Tools for Success
  • Using Jupyter Notebook for Coding
  • Chapter 2: Using Interactive Mode, Getting Help, and Writing Apps
  • Using Python's Interactive Mode
  • Creating a Folder for Your Python Code
  • Typing, Editing, and Debugging Python Code
  • Writing Code in a Jupyter Notebook
  • Chapter 3: Python Elements and Syntax
  • The Zen of Python
  • Introducing Object-Oriented Programming
  • Discovering Why Indentations Count, Big Time
  • Using Python Modules
  • Chapter 4: Building Your First Python Application
  • Opening the Python App File
  • Typing and Using Python Comments
  • Understanding Python Data Types
  • Working with Python Operators
  • Creating and Using Variables
  • Understanding What Syntax Is and Why It Matters
  • Book 2: Understanding Python Building Blocks
  • Chapter 1: Working with Numbers, Text, and Dates
  • Calculating Numbers with Functions
  • Still More Math Functions
  • Formatting Numbers
  • Grappling with Weirder Numbers
  • Manipulating Strings
  • Uncovering Dates and Times
  • Accounting for Time Zones
  • Working with Time Zones
  • Chapter 2: Controlling the Action
  • Main Operators for Controlling the Action
  • Making Decisions with if
  • Repeating a Process with for
  • Looping with while
  • Chapter 3: Speeding Along with Lists and Tuples
  • Defining and Using Lists
  • What's a Tuple and Who Cares?
  • Working with Sets
  • Chapter 4: Cruising Massive Data with Dictionaries
  • Understanding Data Dictionaries
  • Creating a Dictionary
  • Looping through a Dictionary
  • Dictionary Methods
  • Copying a Dictionary
  • Deleting Dictionary Items
  • Having Fun with Multi-Key Dictionaries
  • Chapter 5: Wrangling Bigger Chunks of Code
  • Creating a Function
  • Commenting a Function
  • Passing Information to a Function
  • Returning Values from Functions
  • Unmasking Anonymous Functions
  • Chapter 6: Doing Python with Class
  • Mastering Classes and Objects
  • Creating a Class
  • Creating an Instance from a Class
  • Giving an Object Its Attributes
  • Giving a Class Methods
  • Understanding Class Inheritance
  • Chapter 7: Sidestepping Errors
  • Understanding Exceptions
  • Handling Errors Gracefully
  • Being Specific about Exceptions
  • Keeping Your App from Crashing
  • Adding an else to the Mix
  • Using try … except … else … finally
  • Raising Your Own Exceptions
  • Book 3: Working with Libraries
  • Chapter 1: Working with External Files
  • Understanding Text and Binary Files
  • Opening and Closing Files
  • Reading a File’s Contents
  • Looping through a File
  • Reading and Copying a Binary File
  • Conquering CSV Files
  • Converting from CSV to Objects and Dictionaries
  • Chapter 2: Juggling JSON Data
  • Organizing JSON Data
  • Understanding Serialization
  • Loading Data from JSON Files
  • Dumping Python Data to JSON
  • Chapter 3: Interacting with the Internet
  • Seeing How the Web Works
  • Chapter 4: Libraries, Packages, and Modules
  • Understanding the Python Standard Library
  • Exploring Python Packages
  • Importing Python Modules
  • Making Your Own Modules
  • Managing Virtual Environments
  • Book 4: Using Artificial Intelligence
  • Chapter 1: Demystifying Artificial Intelligence
  • AI Is a Collection of Techniques
  • Current Limitations of AI
  • Chapter 2: Building a Neural Network
  • Understanding Neural Networks
  • Building a Simple Neural Network in Python
  • Building a Python Neural Network in TensorFlow
  • Chapter 3: Doing Machine Learning
  • Learning by Looking for Solutions in All the Wrong Places
  • Creating a Machine-Learning Network for Detecting Clothes Types
  • Visualizing with Matplotlib
  • Learning More Machine Learning
  • Chapter 4: Playing Around with AI on Cards, Sticks, and in the Cloud
  • Seeing the Limitations of the Raspberry Pi and AI
  • Adding Hardware AI to the Raspberry Pi
  • Discovering Ways to Do AI in the Cloud
  • AI on a Graphics Card
  • Where to Go for More AI Fun in Python
  • Book 5: Doing Data Science
  • Chapter 1: Understanding the Five Areas of Data Science
  • Working with Big, Big Data
  • Cooking with Gas: The Five-Step Process of Data Science
  • Chapter 2: Exploring Big Data
  • Introducing NumPy, pandas, and Matplotlib
  • Doing Your First Data Science Project
  • Chapter 3: Using Big Data from Google Cloud
  • What Is Big Data?
  • Understanding Google Cloud and BigQuery
  • Reading the Medicare Big Data
  • Looking for the Most Polluted City in the World on an Hourly Basis
  • Book 6: Talking to Hardware
  • Chapter 1: Introducing Physical Computing
  • Physical Computing Is Fun
  • What Is a Raspberry Pi?
  • Building Projects That Move and Sense the Environment
  • Sensing the Environment with the Raspberry Pi
  • Controlling an LED with Python
  • But Wait, There's More
  • Chapter 2: No Soldering! Using Grove Connectors for Building
  • Working with the Grove System
  • Grove Connectors
  • Connecting with Grove Cables
  • Chapter 3: Sensing the World
  • Understanding I2C
  • Measuring Oxygen and a Flame
  • lWhere to Go from Here
  • Chapter 4: Making Things Move
  • Exploring Electric Motors
  • Controlling a DC Motor
  • Running a Servo Motor
  • Making a Stepper Motor Step
  • Book 7: Building Robots
  • Chapter 1: Introducing Robotics
  • A Robot Is Not Always Like a Human
  • Not Every Robot Has Arms or Wheels
  • Understanding the Main Parts of a Robot
  • Programming Robots
  • Chapter 2: Building Your First Python Robot
  • Introducing the Mars Rover PiCar-B
  • Assembling the Robot
  • Testing Your Robot
  • Chapter 3: Programming Your Robot Rover
  • Building a Simple, High-Level Python Interface
  • Making a Single Move with Python
  • Functions of the RobotInterface Class
  • The Python Robot Interface Test
  • Coordinating Motor Movements with Sensors
  • Making a Python Brain for Our Robot
  • Overview of the Included Adeept Software
  • Where to Go from Here?
  • Chapter 4: Using Artificial Intelligence in Robotics
  • This Chapter’s Projects: Going to the Dogs
  • Setting Up the First Project
  • Machine Learning Using TensorFlow
  • Testing the Trained Network
  • Taking Cats and Dogs to Our Robot
  • Setting Up the Second Project
  • The FindAndChaseTheBall.py Python Program
  • The Main Program
  • AI and the Future of Robotics
  • Index
  • About the Authors
  • Connect with Dummies
  • End User License Agreement