[[PageOutline(1-5, Contents)]] = Embedding Python script = When using the Python plugin, Python code can be embedded into RML files. Inline responses to events are executed as Python code. Functions, structures and variables can be declared or included with the }}} Python code declared inline in an RML file like this must begin at the beginning of the line like a normal Python file. The following sample imports the ''test.py'' file instead of declaring the script inline (it is assumed the Python file declares a ''Test()'' function). {{{