8.1.4 How do I turn off output messages?

You may want to suppress the output that is normally written to STDOUT by scripts. You do this by setting the messages option:
options['messages'] = 'quiet'
The default setting for messages is "verbose", which produces lots of messages.
See About this document... for information on suggesting changes.