Learn AI-Assisted Python Programming, Second Edition
eBook - ePub

Learn AI-Assisted Python Programming, Second Edition

With GitHub Copilot and ChatGPT

  1. 336 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn AI-Assisted Python Programming, Second Edition

With GitHub Copilot and ChatGPT

About this book

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. Foreword by Beth Simon. 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 author 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. Table of Contents 1 Introducing AI-assisted programming with GitHub Copilot
2 Getting started with Copilot
3 Designing functions
4 Reading Python code: Part 1
5 Reading Python code: Part 2
6 Testing and prompt engineering
7 Problem decomposition
8 Debugging and better understanding your code
9 Automating tedious tasks
10 Making some games
11 Creating an authorship identification program
12 Future directions

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learn AI-Assisted Python Programming, Second Edition by Leo Porter,Daniel Zingaro in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Praise for the First Edition
  2. copyright
  3. dedication
  4. contents
  5. foreword
  6. acknowledgments
  7. introduction
  8. about the authors
  9. about the cover illustration
  10. 1 Introducing AI-assisted programming with GitHub Copilot
  11. 2 Getting started with Copilot
  12. 3 Designing functions
  13. 4 Reading Python code: Part 1
  14. 5 Reading Python code: Part 2
  15. 6 Testing and prompt engineering
  16. 7 Problem decomposition
  17. 8 Debugging and better understanding your code
  18. 9 Automating tedious tasks
  19. 10 Making some games
  20. 11 Creating an authorship identification program
  21. 12 Future directions
  22. index