Pair Programming – Build a CLI App With Python Using GitHub Copilot Course guide

GitHub Copilot Pair Programming: Build a Python CLI App

Pair-program a Python to-do CLI app with GitHub Copilot over eight sessions: setup, add, list, remove, update, validation and unit tests. Free videos.

· 5 min read

Thumbnail of the first video: Session 8   How to Write unit tests using GitHub Copilot
Watch the lesson: Session 8 How to Write unit tests using GitHub Copilot

Pair Programming – Build a CLI App With Python Using GitHub Copilot is a beginner course in which you build a real Python command-line to-do app with GitHub Copilot as your pair programmer. It is for beginner and early-career developers who want to learn how to work with an AI coding assistant on an actual project, not just watch it finish single lines.

You start with what GitHub Copilot is and how it works, set it up in Visual Studio Code or IntelliJ, and then build the app over eight sessions, from project setup to error handling and unit tests. There are 16 videos, about 1 hour 22 minutes in total, free on YouTube and listed on the GitHub Copilot pair programming course page.

Who this course is for

  • Beginner Python learners who want a small, complete project to build.
  • Developers new to GitHub Copilot who want to see how to guide it, check it and correct it.
  • Students and job seekers who want to show they can build, validate and test a working tool.

The catalog marks it Beginner. Basic Python helps, and the course takes you through installing and setting up Copilot.

What you will learn

1. What GitHub Copilot is and how it works. What is GitHub Copilot?, What Copilot Can Do? and How Does Copilot Work? give you a realistic picture of the tool before you rely on it. Knowing how it produces suggestions helps you judge when to accept one and when to rewrite it.

2. Getting set up. How To Signup for GitHub Copilot?, How To Setup GitHub Copilot In Visual Studio Code? and How To Install IntelliJ and Setup Github Copilot cover both editors, so you can use the one you prefer.

3. Designing the app. Building CLI App with Python Using GitHub Copilot is the longest video, at about 14 minutes. It frames the to-do CLI app you are about to build. Session 1 – Setup The Project and Session 2 – Create the basic CLI structure lay the foundation.

4. Building the commands. Session 3 implements the add command, Session 4 the list command, Session 5 the remove command and Session 6 the update command. Each session adds one feature, which is exactly how real pair programming moves forward.

5. Making it robust: validation and tests. Session 7 – Add error handling and validation and Session 8 – How to Write unit tests using GitHub Copilot turn a demo into something dependable. Using Copilot to help write tests, and then checking those tests, is one of the most useful habits you can take from this course.

How the course is organised

There are 16 videos and about 82 minutes in total, mostly between two and nine minutes long.

The playlist lists the newest video first, so Session 8 comes before the introduction. To learn in a logical order, watch it from the bottom up:

  1. Build Todo CLI App Using Github Copilot – Course Introduction
  2. What is GitHub Copilot?
  3. What Copilot Can Do?
  4. How Does Copilot Work?
  5. How To Signup for GitHub Copilot?
  6. How To Setup GitHub Copilot In Visual Studio Code?
  7. How To Install IntelliJ and Setup Github Copilot
  8. Building CLI App with Python Using GitHub Copilot
  9. Sessions 1 to 8, in number order

How to study it step by step

  1. Watch the introduction and the three “what and how” videos in one sitting.
  2. Set up Copilot in one editor. You do not need both. Pick VS Code or IntelliJ and follow that video.
  3. Code each session yourself. Pause before each feature, write your own comment or prompt for Copilot, and compare what you get with the video.
  4. Read every suggestion before you accept it. If you cannot explain a line, ask Copilot to explain it or rewrite it yourself.
  5. Run the app after every session to check that add, list, remove and update all work together.
  6. In Session 8, add one extra test of your own for a case the video does not cover, such as removing an item that does not exist.

This course currently has no Skills Pragati hands-on lab guide, practice simulation or mock exam.

Frequently asked questions

Is the GitHub Copilot pair programming course free?

Yes. All 16 videos are free on YouTube. Start from the course page. You do need a GitHub Copilot account to code along, and the course includes a video on signing up.

How long does it take?

The videos total about 82 minutes. If you code along with every session, plan for two or three evenings.

Do I need to know Python?

Basic Python is enough. The course is rated Beginner. If you have never written Python, start with Learn To Code From Scratch With Python and come back afterwards.

What should I learn next?

Once you can build small tools, Software Design Patterns helps you structure bigger programs, whether you or Copilot writes the first draft.

Do it yourself