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.
Writing computer programs in Python just got a lot easier! Use AI-assisted coding tools like GitHub Copilot and ChatGPT to turn your ideas into applications faster than ever.
AI has changed the way we write computer programs. With tools like Copilot and ChatGPT, you can describe what you want in plain English, and watch your AI assistant generate the code right before your eyes. It’s perfect for beginners, or anyone who’s struggled with the steep learning curve of traditional programming.
In Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT you’ll learn how to:
- Write fun and useful Python applications—no programming experience required!
- Use the 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
Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT is a hands-on beginner’s guide that is 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 hit the ground running, writing prompts that tell your AI-assistant exactly what you want your programs to do. Along the way, you’ll pick up the essentials of Python programming and practice the higher-level thinking you’ll need to create working apps for data analysis, automating tedious tasks, and even video games.
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 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. Getting your system set up
- Chapter 2. Working with Copilot in Visual Studio Code
- Chapter 2. Addressing common Copilot challenges
- Chapter 2. Our first programming problem
- Chapter 2. Summary
- Chapter 3. Designing functions
- Chapter 3. Benefits of functions
- Chapter 3. Roles of functions
- Chapter 3. What’s a reasonable task for a function?
- Chapter 3. The cycle of design of functions with Copilot
- Chapter 3. Examples of creating good functions with Copilot
- 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. Summary
- Chapter 5. Reading Python code: Part 2
- 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. Summary
- Chapter 7. Problem decomposition
- Chapter 7. Small examples of top-down design
- Chapter 7. Authorship identification
- Chapter 7. Authorship identification 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. Going further
- 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. 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. Summary
- Chapter 10. Making some games
- Chapter 10. Adding randomness
- Chapter 10. Example 1: Bulls and Cows
- Chapter 10. Example 2: Bogart
- Chapter 10. Summary
- Chapter 11. Future directions
- Chapter 11. Limitations and future directions
- Chapter 11. Summary
Product information
- Title: Learn AI-Assisted Python Programming, Video Edition
- Author(s):
- Release date: December 2023
- 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 …
book
Python for Programmers
The professional programmer’s Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …
video
Introduction to Python: Learn How to Program Today with Python
7+ Hours of Video Instruction Overview Python is a great, beginner-friendly programming language because it was …