Python Macro

This is a XWiki macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

Python Macro

This is a shortcut for Script Macro equivalent to {{script language="python"}} to execute python scripts based on Jython (http://www.jython.org).

Usage

{{python}}
print "Hello World"
{{/python}}

Parameters definition

See the Script Macro for details.

Example

{{python}}
print "Hello World"
{{/python}}

Result

Hello World
Tags:
Created by Thomas Mortagne on 2009/09/04 15:31
Last modified by Thomas Mortagne on 2009/09/08 10:36

This wiki is licensed under a Creative Commons license
2.2.1.27354