Using the Request

     $python.eval('request.getParameter("myparam")')

Click here to set myparam $python.eval('request.getParameter("myparam")')

Lowering a String with Python inline

     $python.eval('"HELLO DOTCMS".lower()')

$python.eval('"HELLO DOTCMS".lower()')

Calling a Python function

     $python.evalExpression('/demos/scripting/python/pythontest.py','hello("dotCMS")')

$python.evalExpression('/demos/scripting/python/pythontest.py','hello("dotCMS")')
© 2017 dotCMS Inc. All rights reserved.