1
Your Cart

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.

Foreword by Beth Simon, Ph.D.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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 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 Future directions

13 reviews for Learn AI-Assisted Python Programming with GitHub Copilot and ChatGPT

  1. Bill
    April 30, 2024
    5.0 out of 5 stars Clearly written
    AI-assisted Python programming is relatively simple. This book focuses on Copilot, thought other AI processors could be usedCode snippets are helpful ...More
    AI-assisted Python programming is relatively simple. This book focuses on Copilot, thought other AI processors could be used
    Code snippets are helpful and the plot starts at 'print 1 to 10' instead of the usual "Hello, Welcome".
    They compare Assembly code to Python. Had to laugh. Author had the same issue with Assembly that most computer science majors suffer. It's boring and makes not sense. Especially after you try AI-assisted Python programming.
    Helpful? 0 0
    Felix Obere
    March 16, 2024
    5.0 out of 5 stars Very well Explained
    This book is hands on and enjoyable too.
    Helpful? 1 0
    Gina P.
    March 16, 2024
    5.0 out of 5 stars Game changer
    This is a game changer on how to get introduced to learning the number one computer software language, Python, using artificial intelligence to assist...More
    This is a game changer on how to get introduced to learning the number one computer software language, Python, using artificial intelligence to assist a student learn.
    Thank you so much for publishing this.
    It really in an introduction, from an broader perspective, how we all can increase our knowledge via having an AI teaching component. What a fabulous and inclusive resource for our otherwise divided world.
    Helpful? 0 0
    Michael
    February 26, 2024
    5.0 out of 5 stars Hands on AI learning
    This is an excellent book for learning how to use copilot and/chatgpt. You will be guided using hands on examples from very simple to more complex. Th...More
    This is an excellent book for learning how to use copilot and/chatgpt. You will be guided using hands on examples from very simple to more complex. The authors go over troubleshooting and breaking problems down to smaller parts. This is with the intention of teaching the reader skills to use in the future. And it’s written for beginners to understand. And the way they design prompts can be used for other problems to solve beyond Python or programming.
    Helpful? 0 0
    Black family
    February 3, 2024
    5.0 out of 5 stars Time to adapt to the new tools for software developers
    I have been programming for a long time. I started with vi and emacs doing C programming when we had to use cgi-bin, and my boss told me no one would ...More
    I have been programming for a long time. I started with vi and emacs doing C programming when we had to use cgi-bin, and my boss told me no one would take me seriously if I used pico, which a couple decades later became a popular IDE, nano.

    I had to adapt to using Netbeans and Eclipse and then continues to even newer IDEs. This book took me, who was very pessimistic and realized it was time for me to start to use a coding AI, and though they use Copilot there are many others and people should start to experiment and determine which will help them, but raising fists and yelling at the moon won't stop the stomping of technology, just as I had to stop using wordpad for development, we need to continue to adapt.

    The advantage of this book is they walk through how to not only do some prompt engineering but also to think about how do you think about structuring your program, so decompose it, and as I was reading this I realized that much of what we used to expect architects to do now developers should be doing, so we should be expecting more from more junior developers, but the tool will help so they should be able to get better code written faster, with unit tests more easily developed.

    Though this book focuses on python, that is just the language they chose to use, but in all honesty they walk through python well so even if you will never use this language you can understand and then focus on how to apply their concepts to the language you are using.

    If you don't want to fall behind your co-workers you should get this book and learn where the feature is going.
    Helpful? 1 0
    Austin Henley
    December 28, 2023
    5.0 out of 5 stars Learn to code *with* AI
    Knowing how to use tools like Copilot is now an expected skill of programmers. They can greatly boost producitivity, but they are not perfect. This is...More
    Knowing how to use tools like Copilot is now an expected skill of programmers. They can greatly boost producitivity, but they are not perfect. This is _the_ book to learn how to code while leveraging AI tools.

    This is the first book that teaches how to treat AI like a primary tool while programming, rather than an add-on. It breaks down a user's flow into useful steps: designing functions that are easy for you (the human) and the AI to work with, making sense of the AI's code and explanation, testing the AI's code, prompt engineering, decomposing problems to make the AI more effective, and debugging with the AI.

    These skills can accelerate learning to program and also radically change how we develop software! The book is written in a way that anyone can follow and introduces useful examples along the way.

    I'll be recommending the book to my students.
    Helpful? 0 0
    Bill G
    December 21, 2023
    5.0 out of 5 stars Programming with GitHub Copilot in no time at all
    This is a refreshingly friendly, no-nonsense book on how to productively use AI like GitHub Copilot in your everyday programming, whatever your backgr...More
    This is a refreshingly friendly, no-nonsense book on how to productively use AI like GitHub Copilot in your everyday programming, whatever your background. Written for Python, anyone aspiring to learn programming an entirely new way -- *the* new way -- will find this book useful. The authors' approach is very rational and disciplined, helping you sidestep many of the pitfalls of AI-assisted programming.
    Helpful? 0 0
    JollyGr33nGiant
    December 11, 2023
    5.0 out of 5 stars A Game-Changer for Programmers, Developers, and Computer Scientists!
    The book "Learn AI-assisted Python Programming: With GitHub Copilot and ChatGPT" by Professors Zingaro and Porter is a groundbreaking book that marks ...More
    The book "Learn AI-assisted Python Programming: With GitHub Copilot and ChatGPT" by Professors Zingaro and Porter is a groundbreaking book that marks a significant milestone in the field of computer programming. This book expertly bridges the gap between traditional coding practices and the rapidly evolving world of AI-assisted programming. It serves as an indispensable resource for both aspiring and seasoned programmers.

    What sets this book apart is its comprehensive approach to integrating tools like GitHub's Copilot and ChatGPT into Python programming. The authors do an exceptional job of demystifying these advanced technologies, making them accessible and practical for everyday coding tasks. Each chapter is meticulously crafted, offering clear explanations, real-world examples, and practical exercises that reinforce the concepts being taught.

    The book's emphasis on efficiency and productivity is particularly commendable. It underscores the importance of leveraging AI tools to not only speed up the coding process but also to enhance the quality of the code. This approach is invaluable in today's fast-paced tech environment, where the ability to quickly adapt and incorporate new tools can set a programmer apart from their peers!

    Additionally, for those computer scientists and software developers out there, this book is more than just a learning tool; it's a roadmap to becoming more proficient and competitive in the field. By embracing AI-assisted programming, readers are equipped to code more efficiently, reducing the time spent on routine tasks and focusing more on complex problem-solving and innovation.

    Ultimately, this book is a must-read for anyone in the field of computing! Its forward-thinking approach and practical insights provide a clear path for harnessing the full potential of AI in programming. It's a book that doesn't just teach you how to code; it teaches you how to code smarter! And remember, efficiency is key in computing! :)
    Helpful? 0 0
    Lokeshwar Vangala
    December 4, 2023
    5.0 out of 5 stars Transforming Programming with AI: A journey to become super programmers
    "Learn AI-Assisted Python Programming" is a book that brilliantly navigates the evolving landscape of programming with the integration of GitHub Copil...More
    "Learn AI-Assisted Python Programming" is a book that brilliantly navigates the evolving landscape of programming with the integration of GitHub Copilot. This book not only redefines how we approach coding but also empowers readers to harness the full potential of AI coding assistants.

    In an era where AI is reshaping our daily lives, this book offers a fresh perspective on programming. Rather than being overwhelmed by syntax rules, "Learn AI-Assisted Python Programming" encourages readers to focus on creativity and problem-solving while AI handles the intricacies of syntax. This shift in mindset is nothing short of revolutionary, and the authors guide readers through this transformation with precision and clarity.

    One of the book's standout features is its emphasis on practicality. It introduces readers to AI tools like Copilot and ChatGPT, demonstrating how they can streamline the coding process. The authors skillfully break down complex programming tasks into manageable projects, equipping readers with the ability to engineer effective prompts for AI-generated code. Moreover, the book provides invaluable guidance on testing, troubleshooting, and refining AI-generated code, ensuring that readers are not just reliant on AI but also proficient programmers in their own right.

    The book's structure is well thought out, with key lessons in each chapter providing valuable insights.
    Chapter 1 sets the stage by exploring the impact of AI on programming, and subsequent chapters delve into essential Python features and problem-solving strategies.

    Dr. Leo Porter and Dr. Daniel Zingaro's expertise in computer science education shines through in this book. Their accolades and teaching experience add credibility to the content, assuring readers that they are learning from the best. By combining AI coding assistants with high-level thinking, the authors make programming more accessible to learners of all levels.

    In conclusion, "Learn AI-Assisted Python Programming" is a transformative resource that is poised to reshape the way we approach programming education. With its user-friendly approach, expert guidance, and the integration of AI, it is a great read for both students and professionals looking to thrive in the AI-driven world of programming. This book offers a pragmatic approach to coding that is sure to impress and inspire readers, making it an invaluable addition to any programmer's library.
    Helpful? 0 0
    honda021
    November 23, 2023
    5.0 out of 5 stars A whole new way to teach programming
    This book is the first I know of to detail approaching learning to program using Generative AI. It is truly a novel approach, challenging most - if no...More
    This book is the first I know of to detail approaching learning to program using Generative AI. It is truly a novel approach, challenging most - if not all - prior ways of teaching and learning to program. Thoughtfully written with both the student and educator in mind, this book is a must-have for anyone that wants to learn, or indeed teach, introductory programming in the age of Generative AI. The authors are both expert programming educators with great experience not only in teaching but researching the way that programming is taught and learned - and it shows!
    Helpful? 0 0
    Mario Solomou
    November 23, 2023
    5.0 out of 5 stars An honest approach to coding in the AI era, a spherical approach.
    A professional unbiased overview of Copilot writing python! Instead of fiddling with syntax it approaches programming from using AI as the tool for wr...More
    A professional unbiased overview of Copilot writing python! Instead of fiddling with syntax it approaches programming from using AI as the tool for writing code - illustrates the good the bad and how to review before accepting AI generated code - forces us to thing of the next steps of how we should embrace tools such as copilot and how to pair it with our human problem solving intuition. It also teaches how to breakdown problems in a way that AI can help you with generating a solution for a bigger problem - a skill that will be one of the main skills needed for our next advancement.

    Thank you!
    Helpful? 0 0
    W
    November 22, 2023
    5.0 out of 5 stars First of a kind approach for teaching introductory programming
    (Review based on a preprint version of the book). Learning programming and Computer Science is much easier for students with generative tools at their...More
    (Review based on a preprint version of the book). Learning programming and Computer Science is much easier for students with generative tools at their disposal. There are a lot of creative applications of generative AI in this book that allow students to practice their use in order for them to incorporate them into their learning workflow. I enjoyed the scaffolding of the capstone program analyzing authorship of books to show how much more is possible for students to achieve with generative tools.
    Helpful? 0 0
Add a review

Your email address will not be published. Required fields are marked *

X

New item(s) have been added to your cart.

Frequently bought with ChatGPT Complete Guide: Learn Midjourney, Gemini, Chat GPT 4


The Complete Node.js Developer Course (3rd Edition) Original price was: $199.99.Current price is: $149.99.
C Programming For Beginners - Master the C Language Original price was: $199.99.Current price is: $94.99.
Hi Guys, Welcome to my UPDATED ChatGPT Course: Generative AI, Prompt Engineering, Google Gemini, Adobe Firefly. In my course you will learn everything about different AI Tools. I have created video lessons on every feature of these AI tools. You will get to see the real practical implementation of how to use every feature of this tools. This is the most detailed course on AI Tools you will ever find on the internet. I have created different sections based on different AI tools and in each section, I have gone in-depth into explaining the concept of each tool and how to practically implement it. This course will give you a 100% understanding of AI Tools and after going through this course you will be capable of applying these concepts in building your own online business or for your clients. At such a low price, you're going to get 109 detailed video lessons. A complete access to our student discussion forum, and the ability to ask me any questions you may have as you progress through the course. On top of all that, you get lifetime access and a 30 day, 100% money back guarantee! Topics you will learn in this course: - Welcome To ChatGPT Masters - You're Going to Learn How to Use AI! - ChatGPT Sneak Peek - See the Power of AI for Text Generation - Midjourney Sneak Peek - See the Power of AI for Art Generation - 15 Minute ChatGPT Crash Course with ChatGPT 40 Update & Features - Prompt Engineering 101 - How to Get Better Responses from ChatGPT - UPDATE: Share ChatGPT Conversations with a Link - Google Gemini Crash Course & Comparison to ChatGPT - Better Than Google Research with ChatGPT - Find Keywords & Content Ideas with ChatGPT - Create Article, Video, Podcast Outlines with ChatGPT - Write an Entire Article with ChatGPT - Generate Catchy Titles & Headlines with ChatGPT - Come Up with Great Social Media Post Ideas with ChatGPT - Write Social Media Post Copy with ChatGPT (Instagram, Facebook, etc.) - Create Engaging Polls & Quizes with ChatGPT - Create Fun Facts, Inspirational Quotes and Jokes on any Topic with ChatGPT - Welcome to ChatGPT Marketing - Target Audience: How a well-defined target audience can help you sell more - Target Audience: ChatGPT for audience research and analysis - Content Calendar ChatGPT: How to create a complete Content Calendar - SEO ChatGPT: Optimized Keywords and Blog Titles - SEO ChatGPT: Writing an optimized Blog Post in seconds - Email Marketing ChatGPT: Overview of email marketing - Email Marketing ChatGPT: Developing optimized email sequences - Online Advertising ChatGPT: Facebook Ads - Online Advertising ChatGPT: Google Ads - Sales Pages ChatGPT: Developing sales page copy - Steps to create a powerful marketing funnel with ChatGPT - Identifying your buyer persona with ChatGPT - Creating a lead magnet with ChatGPT - Creating copy for the landing page and social media with ChatGPT - Writing a complete email sequence for your funnel with ChatGPT - Generating Trending YouTube Video Ideas with ChatGPT - Write a Video Script with ChatGPT - Generate YouTube Video Tags with ChatGPT - Write a YouTube Video Descriptions with ChatGPT - Improve Your Closed Captions on YouTube with ChatGPT - Introduction to Office productivity with ChatGPT - Research and Problem solving with ChatGPT - Meeting Notes, Key Points, Decisions, Action Points - Replying to emails with ChatGPT - Optimize my resume with ChatGPT - Generating Product and Business names with ChatGPT - Taglines and slogans for your brand with ChatGPT - Product descriptions for your online store with ChatGPT - Generating FAQ with ChatGPT - Research Podcast Ideas & Come Up with a Catchy Podcast Name with ChatGPT - Outline & Script Podcast Episodes with ChatGPT - Brainstorm Interview Questions & Find Potential Podcast Guests - Introduction to using ChatGPT in your website - Website copy for the homepage, about us page and contact us page - Landing page headlines and copy - Meta descriptions with ChatGPT - Come Up With Your Next Best Course Idea with ChatGPT - Write a Course Online with ChatGPT - Write the Course Landing Page/Description and Promotional Emails with ChatGPT - Adding AI Tools like ChatGPT to Your Writing Workflow - What to Look Out for in the Future of AI - Training ChatGPT with Specific Industry Knowledge - Case Study: Writing a Book from Your Video Script - Strategies for Efficient Editing & Decreasing Errors - Welcome to the Google Gemini Lessons - Key Differences Between Google Gemini & ChatGPT - Gemini Update: Export to Google Docs Feature & Dark Theme - How to Research with Google Gemini - Do A Digital Marketing Research with Google Gemini - Create Outlines for Articles, Videos & Podcasts with Google Gemini - Write an Entire Article with Google Gemini - Generate Catchy Keyword- Rich Article Titles with Google Gemini - Make Existing Article Titles More SEO-Friendly with Google Gemini - Come Up with Social Media Post Ideas with Google Gemini - Write Instagram, Facebook & Twitter Posts with Google Gemini - Create Social Media Polls with Google Gemini - Generate Fun Facts, Quotes & Jokes with Google Gemini - Turn YouTube Videos into Articles and Create Podcast Show notes with Google Gemini - Write an Email Interview Request with Google Gemini - Come Up with Interview Questions with Google Gemini - Outline an Online Course and Course Lessons with Google Gemini - Write Course Landing Pages, Title and Learning Outcomes - Write Supplemental Learning Materials like PDF Guides with Google Gemini - Write Promotional Emails with Google Gemini - Answer Student Questions with Google Gemini - Introduction to Digital Marketing with Google Gemini - Write copy like a Pro with Google Gemini and Copywriting Frameworks - Online Advertising Google Gemini: Facebook Ads - Online Advertising Google Gemini: Google Ads - Replying to emails with Google Gemini - Meeting Notes, Key Points, Decisions, Action Points - Optimize my resume with Google Gemini - Generating Product and Business names with Google Gemini - Taglines and slogans for your brand with Google Gemini - Product descriptions for your online store with Google Gemini - Generating FAQ with Google Gemini - How to Write an Ethical Essay with Google Gemini - Creating your Midjourney account - Tip: Chat privately with Midjourney in Discord - Creating product images with Midjourney - Creating product photographs with Midjourney - Creating website ideas with Midjourney - Creating a logo for my business with Midjourney - Outline your Book with ChatGPT - Basic Formatting in Google Docs - Signing Up for Amazon Kindle Direct Publishing - 3 AI Voice Over Generators - Clone Your Own Voice with Eleven Labs - Introduction to Adobe Firefly - Text to Image Generation - Generative Fill - Text Effects - Text to Template Thank you so much for checking out my course. I look forward to seeing you in the course. So wait no more! Click on the 'Buy now' button and join my course today!! Also check out my other courses!! Who this course is for: Anyone who wants to stay up-to-date with technological advancements and gain a competitive edge in their field. Marketers and content creators who want to streamline their workflow and improve their productivity using ChatGPT. Business owners who want to improve their marketing, content creation, and customer engagement using ChatGPT. Researchers who want to conduct effective research for academic or professional purposes using ChatGPT. Students who want to improve their academic writing skills and use ChatGPT to answer questions related to their coursework. Original price was: $149.99.Current price is: $94.99.
Application Security Fundamentals for the Absolute Beginners Original price was: $149.99.Current price is: $79.99.
Advanced C Programming Course Original price was: $149.99.Current price is: $94.99.
Cyber Security: From Beginner to Expert Original price was: $100.00.Current price is: $49.95.
Course Introduction to Programming Original price was: $144.99.Current price is: $59.99.