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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.