exec(self.raw)
sys.stdout = sys.__stdout__
out_lines = code_out.getvalue().split('\n')
for out_line in out_lines:
    self.request.write(formatter.rawHTML(out_line + '<br>'))
Is there a way to incorporate python code into moinmoin pages?