How to convert python Object into List

Hello Folks,

My python code returns a list of strings. Now, In Uipath i used Invoke python method and python object. So, could any assist how to convert python object into List directly to retrieve the values in Uipath

1 Like

@ushu - You can use a String array as an output argument in the invoke code and assign the list of strings from the python code to the output argument. You can then assign the output argument to a local String array and use it for further processing.

2 Likes

Thanks sreenivasam. Will try on it

1 Like