Using GitHub Copilot with Python
GitHub Copilot is an AI pair programmer that offers autocomplete-style suggestions as you code in Python.
Learning objectives
By the end of this module, you're able to:
- Enable the GitHub Copilot extension in Visual Studio Code.
- Craft prompts that can generate useful suggestions from GitHub Copilot.
- Use GitHub Copilot to improve a Python project.
Prerequisites
- Basic understanding of Python and text editors.
- Basic comprehension of Git and GitHub Fundamentals. Particularly, running basic git commands like
git add
andgit push
. - A GitHub Account with an active subscription for GitHub Copilot is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. For learning, the Copilot Free option with usage limits should be sufficient.