Question: A developer calls an external Python script inside the bot using the Open Python action and provides the Import existing File option. During execution, the
A developer calls an external Python script inside the bot using the Open Python action and provides the Import existing File option. During execution, the bot throws an error saying, "could not execute Python" When the Python script execute separately using an Integrated Development Environment (IDE), it executes without any error.
Select the change that needs to be made to successfully execute the bot.
- The Execute function action is required to run the external script and must be added to the bot code
- The Python script has to be provided with IPNB format.
- The Python script needs a function defined in it that has to be processed/run using the Python script package. Execute function action.
- The Path variable has to be set for Python inside the Environment variables.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
