Did you know ... Search Documentation:
Pack utils_ssardina -- prolog/system_ssardina.pl
PublicShow source
 run_python(+Script, +Args, -Status) is det
Executes a Python script with the given arguments and captures its output and error streams. Script: Path to the Python script to execute. Args: List of arguments to pass to the Python script. Status: The exit status of the Python process.

e.g., run_python('script.py', ['arg1', 'arg2'], Status).