Before you begin ================ Install the Lager CLI tool -------------------------- These docs assume that you have a Lager account and have already installed the Lager CLI tool. If you haven't already done so, `see here `_. For brevity, all of our examples will omit the ``--dut`` option to ``lager python``, meaning they assume you only have one DUT. If you have multiple DUTs, you'll need to specify which one to run the code on e.g. ``lager python script.py --dut helpful-horse``. What is Lager Python? --------------------- Lager Python is tool for running Python code that can interact directly with your Device Under Test (DUT). You can flash your device, run it, interact with peripherals (serial, SPI, I²C, GPIO, etc), and stream results back to the Lager CLI tool. By default your programs also have access to :ref:`some helpful libraries `. Let's get started!