Page History
...
- Python is a frequently used scripting language available for Linux, MacOS, Windows and other platforms.
- This article explains how to syntactically include Python scripts with JS7 job scripts.
Unix
- Find examples for download (.json upload): pdScriptingPythonUnix.workflow.json
In order to directly add Python script code to a JS7 shell job script the recommended approach is to use a shebang like this:
Code Block language bash title Example how use Python script code with a shebang linenumbers true #!/usr/bin/python print("Hello") print("world")
Alternatively a Python script can be executed from a file that has to be located by the executing Agent:
Code Block language bash title Example how to run Python script code from a file linenumbers true #!/usr/bin/bash python hello.py
...
Overview
Content Tools