Table of Contents
SAP Automation Pilot has the functionality to run scripts in an isolated Linux environment which provides a large array of useful tools and runtimes including Python. It's often necessary to install custom packages from the Python Package Index (PyPi) for functionalities that are not available in the standard Python library.
This examples show how to install a custom package such as requests and how to use it to send a simple HTTP request. The actual script can easily be modified to fit an actual productive scenario.
Please refer to the documentation for more details about the Execute Script functionality in Automation Pilot.
There are no mandatory requirements.
Import the content of examples catalog in your Automation Pilot tenant. Navigate to the UseCustomPythonPackage command and check the configuration of the PythonScript executor. You can also trigger the command to see it in action