Video description
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.
See how an AI assistant can bring your ideas to life immediately!
Once, to be a programmer you had to write every line of code yourself. Now tools like GitHub Copilot can instantly generate working programs based on your description in plain English. An instant bestseller, Learn AI-Assisted Python Programming has taught thousands of aspiring programmers how to write Python the easy way—with the help of AI. It’s perfect for beginners, or anyone who’s struggled with the steep learning curve of traditional programming.
In Learn AI-Assisted Python Programming, Second Edition you’ll learn how to:
- Write fun and useful Python applications—no programming experience required!
- Use the GitHub Copilot AI coding assistant to create Python programs
- Write prompts that tell Copilot exactly what to do
- Read Python code and understand what it does
- Test your programs to make sure they work the way you want them to
- Fix code with prompt engineering or human tweaks
- Apply Python creatively to help out on the job
AI moves fast, and so the new edition of Learn AI-Assisted Python Programming, Second Edition is fully updated to take advantage of the latest models and AI coding tools. Written by two esteemed computer science university professors, it teaches you everything you need to start programming Python in an AI-first world. You’ll learn skills you can use to create working apps for data analysis, automating tedious tasks, and even video games. Plus, in this new edition, you’ll find groundbreaking techniques for breaking down big software projects into smaller tasks AI can easily achieve.
About the Technology
The way people write computer programs has changed forever. Using GitHub Copilot, you describe in plain English what you want your program to do, and the AI generates it instantly.
About the Book
This book shows you how to create and improve Python programs using AI—even if you’ve never written a line of computer code before. Spend less time on the slow, low-level programming details and instead learn how an AI assistant can bring your ideas to life immediately. As you go, you’ll even learn enough of the Python language to understand and improve what your AI assistant creates.
What's Inside
- Prompts for working code
- Tweak code manually and with AI help
- AI-test your programs
- Let AI handle tedious details
About the Reader
If you can move files around on your computer and install new programs, you can learn to write useful software!
About the Authors
Dr. Leo Porter is a Teaching Professor at UC San Diego. Dr. Daniel Zingaro is an Associate Teaching Professor at the University of Toronto.
The technical editor on this book was Peter Morgan.
Quotes
..masterfully blends the basics of programming with the effective use of AI tools to produce code.
- Mehran Sahami, Stanford University
This is such a well thought out book from the point of view of someone just starting to code post generative AI tools.
- Ana Bell, MIT
You are about to learn programming with one of the most exciting human task-supporters of this century…
- From the foreword by Beth Simon, UC San Diego
This book accelerates your Copilot programming learning journey beyond what I ever thought possible.
- Austin Z. Henley, Microsoft
Table of contents
- Chapter 1. Introducing AI-assisted programming with GitHub Copilot
- Chapter 1. About the technology
- Chapter 1. How Copilot changes how we learn to program
- Chapter 1. What else can Copilot do for us?
- Chapter 1. Risks and challenges when using Copilot
- Chapter 1. The skills we need
- Chapter 1. Societal concerns about AI code assistants like Copilot
- Chapter 1. Summary
- Chapter 2. Getting started with Copilot
- Chapter 2. The software we’ll be using
- Chapter 2. Getting your system set up: Part 1
- Chapter 2. Working with Python in Visual Studio Code
- Chapter 2. Writing and running some small programs
- Chapter 2. Getting your system set up: Part 2
- Chapter 2. Addressing common Copilot challenges
- Chapter 2. Our path forward
- Chapter 2. Summary
- Chapter 3. Designing functions
- Chapter 3. The design cycle of functions with Copilot
- Chapter 3. Examples of creating good functions with Copilot
- Chapter 3. Benefits of functions
- Chapter 3. Roles of functions
- Chapter 3. What’s a reasonable task for a function?
- Chapter 3. Exercises
- Chapter 3. Summary
- Chapter 4. Reading Python code: Part 1
- Chapter 4. Asking Copilot to explain code
- Chapter 4. Top 10 programming features you need to know: Part 1
- Chapter 4. Exercises
- Chapter 4. Summary
- Chapter 5. Reading Python code: Part 2
- Chapter 5. Exercises
- Chapter 5. Summary
- Chapter 6. Testing and prompt engineering
- Chapter 6. Closed-box and open-box testing
- Chapter 6. How to test your code
- Chapter 6. Revisiting the cycle of designing functions with Copilot
- Chapter 6. Full testing example
- Chapter 6. Another full testing example: Testing with files
- Chapter 6. Exercises
- Chapter 6. Summary
- Chapter 7. Problem decomposition
- Chapter 7. Small examples of top-down design
- Chapter 7. Spelling suggestions
- Chapter 7. Spelling suggestions using top-down design
- Chapter 7. Breaking down the process subproblem
- Chapter 7. Summary of our top-down design
- Chapter 7. Implementing our functions
- Chapter 7. Exercises
- Chapter 7. Summary
- Chapter 8. Debugging and better understanding your code
- Chapter 8. How to find the bug
- Chapter 8. How to fix a bug (once found)
- Chapter 8. Modifying our workflow in light of our new skills
- Chapter 8. Applying our debugging skills to a new problem
- Chapter 8. Using the debugger to better understand code
- Chapter 8. A caution about debugging
- Chapter 8. Exercises
- Chapter 8. Summary
- Chapter 9. Automating tedious tasks
- Chapter 9. How to use Copilot to write tools
- Chapter 9. Example 1: Cleaning up email text
- Chapter 9. Example 2: Adding cover pages to PDF files
- Chapter 9. Example 3: Merging phone picture libraries
- Chapter 9. Exercises
- Chapter 9. Summary
- Chapter 10. Making some games
- Chapter 10. Adding randomness
- Chapter 10. Example 1: Bulls and Cows
- Chapter 10. Example 2: Bogart
- Chapter 10. Exercises
- Chapter 10. Summary
- Chapter 11. Creating an authorship identification program
- Chapter 11. Authorship identification using top-down design
- Chapter 11. Breaking down the process subproblem
- Chapter 11. Summary of our top-down design
- Chapter 11. Implementing our functions
- Chapter 11. Going further
- Chapter 11. Exercises
- Chapter 11. Summary
- Chapter 12. Future directions
- Chapter 12. Limitations and future directions
- Chapter 12. Exercises
- Chapter 12. Summary
Product information
- Title: Learn AI-Assisted Python Programming, Second Edition, Video Edition
- Author(s):
- Release date: October 2024
- Publisher(s): Manning Publications
- ISBN: None
You might also like
book
Learn AI-Assisted Python Programming
Writing computer programs in Python just got a lot easier! Use AI-assisted coding tools like GitHub …
video
Python Programming Language
6+ Hours of Video Instruction Python Programming Language LiveLessons provides developers with a guided tour of …
video
Python Programming Advanced: Understanding Weird Concepts
Do you have basic knowledge of Python and want to explore more advanced concepts? This course …
video
Grokking Algorithms, Video Edition
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and …