I have a scenario in which python object is returned from Invoke Python method. That object when printed in message box, it is giving me “UiPath.Python.PythonObject”. What all we can perform with this python object and how to convert it back to image format?
Not sure what you’re trying to accomplish nor what your script is doing. But assuming you’re handling an image in python or retrieving it from an API a couple ideas come into my mind.
a. You can write your Python method to save the image on a specified location
b. If you have an encoded image, let’s assume a base64 string. You can make your python return such string and decode it using .net Convert.From method
Convert.FromBase64String(String) Method (System) | Microsoft Docs