Example Code

Last updated on 2026-04-27 | Edit this page

Overview

Questions

  • FIXME

Objectives

  • Obtain and run example code used for this lesson
  • FIXME

Obtaining Example Code


For this lesson we’ll be using some example code available on GitHub, which we’ll clone onto our machines using the Bash shell. So firstly open a Bash shell (via Git Bash in Windows or Terminal on a Mac). Then, on the command line, navigate to where you’d like the example code to reside, and use Git to clone it. For example, to clone the repository in our home directory, and change our directory to the repository contents:

BASH

cd
git clone FIXME
cd FIXME

Examining the Code


Next, let’s take a look at the code, which is in the root directory of the repository in a file called FIXME. Feel free to use your preferred editor of choice, such as Notepad, Nano, or Visual Studio Code.

For example, you can also use nano if you’d prefer to use the command line, e.g.

BASH

cd FIXME
nano FIXME

```python

Running the Example Code


Key Points
  • FIXME