7 Programming: flow control

This chapter describes Pyxplot’s facilities for automating repetitive tasks by using loops. At the end, we turn to Pyxplot’s interaction with the shell and filing system in which it operates, introducing a simple framework for automatically re-executing Pyxplot scripts whenever they change, allowing plots to be automatically regenerated whenever the scripts used to produce them are modified.