Many engineers use Python script to automate their tasks. Now we can integrate Python to d3VIEW Workflows. A new worker called Custom_Application can be used to run the Python script. The output files can be collected and used in workflow for further analysis, and reporting.
Custom Application worker needs the following inputs
- Python script file and input files
- Python script name
- Path to Python on hosting server to be used for executing the script

The output of the worker is a table which shows the script output files path on hosting server. Some of these files are automatically generated such as the file “stdout.txt” which stores logging messages, and the file “cmd.sh” stores the running command. Files generated from the Python script will also be shown here. For example, “out.csv” is the output dataset and “scatter_plot.png” is an image storing the visualizations.

We can add the Dataset_Files_Fetcher worker which retrieves the files using the path in the Custom_Application worker output dataset. The worker takes the dataset and the path column name, returns the .csv files as a dataset. We can use this output as a dataset and process them normally as we usually do in Workflow.

Using the Python scripts results, we can visualize the data and generate reports.

We can also create a physical test record or simulation record to store the files and the responses.












