Just enough Python to write displays
