Debugging
Debugging Using the Internet
- Describe a general procedure for deciphering an error message returned by Python using the internet.
- State the most common end-location for a Google search about an error in Python.
- Describe the layout of a generic Stack Overflow page.
- Explain how to read a Stack Overflow page.
Writing Robust Code by Catching Errors
- Use
assert
statements to catch foreseeable errors and provide useful feedback to a user.
- Use
try-except
statements to handle forseeable exceptions.
Version Control, Git, and GitHub
Version Control
- Define version control.
- State the advantages of using a version control system over the “duplicating and renaming” method of keeping versions of R code.
Git
- Explain, in broad strokes, how Git performs version control.
- Describe what a commit does in the context of Git.
- Describe what a repository is in the context of Git.
GitHub
- Explain how GitHub interacts with a local Git repository.
- Explain what pushing from a local repository to a GitHub repository does.
- Explain what pulling from a GitHub repository to a local repository does.
- GitHub Desktop to commit changes and push and pull changes from a repository hosted on GitHub.
- Describe a typical workflow for using Git and GitHub when working on a project that uses Python.