Learn AI-Assisted Python Programming, Video Edition

Learn AI-Assisted Python Programming, Video Edition

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 9h 36m | 1.35 GB

Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT

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.

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.

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
Table of Contents

1 Introducing AI-assisted programming with Copilot
2 About the technology
3 How Copilot changes how we learn to program
4 What else can Copilot do for us
5 Risks and challenges when using Copilot
6 The skills we need
7 Societal concerns about AI code assistants like Copilot
8 Summary
9 Getting started with Copilot
10 Getting your system set up
11 Working with Copilot in Visual Studio Code
12 Addressing common Copilot challenges
13 Our first programming problem
14 Summary
15 Designing functions
16 Benefits of functions
17 Roles of functions
18 What’s a reasonable task for a function
19 The cycle of design of functions with Copilot
20 Examples of creating good functions with Copilot
21 Summary
22 Reading Python code Part 1
23 Asking Copilot to explain code
24 Top 10 programming features you need to know Part 1
25 Summary
26 Reading Python code Part 2
27 Summary
28 Testing and prompt engineering
29 Closed-box and open-box testing
30 How to test your code
31 Revisiting the cycle of designing functions with Copilot
32 Full testing example
33 Another full testing example—Testing with files
34 Summary
35 Problem decomposition
36 Small examples of top-down design
37 Authorship identification
38 Authorship identification using top-down design
39 Breaking down the process subproblem
40 Summary of our top-down design
41 Implementing our functions
42 Going further
43 Summary
44 Debugging and better understanding your code
45 How to find the bug
46 How to fix a bug (once found)
47 Modifying our workflow in light of our new skills
48 Applying our debugging skills to a new problem
49 Using the debugger to better understand code
50 A caution about debugging
51 Summary
52 Automating tedious tasks
53 How to use Copilot to write tools
54 Example 1 Cleaning up email text
55 Example 2 Adding cover pages to PDF files
56 Example 3 Merging phone picture libraries
57 Summary
58 Making some games
59 Adding randomness
60 Example 1 Bulls and Cows
61 Example 2 Bogart
62 Summary
63 Future directions
64 Limitations and future directions
65 Summary

Homepage