Error when using "Load python script activity"

This may or may not help, but it is a working version of invoking a python script. The script is based on a pluralsight course exercise which creates aircraft objects which have various methods, including the airline name which I access in this UiPath workflow. The answer in this case is ‘BA’. The aircraft object is created in the py script using the make_flight function so you don’t need to worry about that here.

It is set up so that you just have to provide your path to the python_36 executable file so that it can be read by the scope.

InvokePython.zip (3.1 KB)

1 Like