What is the Python Shell?

Python is a text language for issuing instructions to control a computer. The python shell is a text-based, interactive interface. You type instructions into the python shell to trigger behaviours you choose. This can help you learn by issuing one instruction or group of instructions at a time then immediately seeing the result, like this…

Both your laptop and VGkits’ Vanguard board are computers which can be controlled by python, and which have a python shell.

On your Vanguard board you can issue python commands via…

  • its python shell
  • a file in a text editor…
    • …then copy-paste them into the python shell to test behaviour
    • …then upload the instructions to make the behaviour permanent

On a laptop we will use python…

Find out how to connect to the python shell on your Vanguard board.