6.11 The exec command

The exec command can be used to execute PyXPlot commands contained within string variables. For example:

terminal="eps"
exec "set terminal %s"%(terminal)

It can also be used to write obfuscated PyXPlot scripts, and its use should be minimised wherever possible.