skip to main content
Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » ExecPython » XPathNodeIterator ExecPyScript (string pyScriptPath [, string argument1, string argument2, string argument3, string argument4, string argument5, string argument6, string argument7, string argument8, string argument9, string argument10, string argument11, string argument12, string argument13, string argument14, string argument15, string argument16, string argument17, string argument18, string argument19])
XPathNodeIterator ExecPyScript (string pyScriptPath [, string argument1, string argument2, string argument3, string argument4, string argument5, string argument6, string argument7, string argument8, string argument9, string argument10, string argument11, string argument12, string argument13, string argument14, string argument15, string argument16, string argument17, string argument18, string argument19])
 
Runs python with the specified script with zero or more arguments using the current target's output directory as the working directory.
Parameters:
pyScriptPath
Path to the script file.
argument1 – argument19
Optional arguments.
Returns:
A node set.
<xsl:variable name="VarExecResult" select=" wwpython:ExecPyScript('script.py', 'some_arg')" />
Was this helpful?
Last modified date: 10/14/2020