A command in HSL runs a Python command string, which works in the same way as the Shogun Post command line.
You can call a Python script from HSL in the same way as a native one:
It can also be given arguments:
MyPythonScript( "Arg1", "Arg2");
Returning values back from Python to HSL is not supported. You also cannot step into a Python script in the debugger.
You can call HSL from Python, using the following HSL command.
Result = shogunPost.HSL('hslString;')
The command returns a Python string containing the result of the HSL operation.