Debugging

Debugging Using the Internet

  1. Describe a general procedure for deciphering an error message returned by Python using the internet.
  2. State the most common end-location for a Google search about an error in Python.
  3. Describe the layout of a generic Stack Overflow page.
  4. Explain how to read a Stack Overflow page.

Writing Robust Code by Catching Errors

  1. Use assert statements to catch foreseeable errors and provide useful feedback to a user.
  2. Use try-except statements to handle forseeable exceptions.

Version Control, Git, and GitHub

Version Control

  1. Define version control.
  2. State the advantages of using a version control system over the “duplicating and renaming” method of keeping versions of R code.

Git

  1. Explain, in broad strokes, how Git performs version control.
  2. Describe what a commit does in the context of Git.
  3. Describe what a repository is in the context of Git.

GitHub

  1. Explain how GitHub interacts with a local Git repository.
  2. Explain what pushing from a local repository to a GitHub repository does.
  3. Explain what pulling from a GitHub repository to a local repository does.
  4. GitHub Desktop to commit changes and push and pull changes from a repository hosted on GitHub.
  5. Describe a typical workflow for using Git and GitHub when working on a project that uses Python.