ERRATUM: chapter 5, page 92, the "import os" statement needs to be executed on all engines, using the "%px" magic command.