Debugging Python scripts

The Live Python device does not include a debugger, but will display an error message when the code generates errors. In the example below, the typo on line 2 has produced a NameError.

We recommend that you develop Python code using a development tool that includes a debugger, such as Idle. Once the code is close to completion, you can paste it into a Live Python device, where you will then be able to test it out with MediaMatrix devices.

See also

Introduction

Building a simple Python example in NWare

Changing Python code while a project is running

An example with multiple input devices

Building an example that processes both inputs and outputs