A PYTHON FILE WITH FUNCTIONS IN THE FILE

Hi!, I have a problem, what happens is that I try to use this method to run the python file

It does not allow me to do so, since I am using functions,

Is there any way to call the functions and the main python file so that both files can be run and avoid this error? Best regards !

Hi @andros_torres_aranda

The below video should help you.

Regards

Yes! , that worked fine when I only ran one file, but since I’m using functions in my python file, I can’t get it to run properly, I get an error that says "Source: Invoking Python method, Message: Pipe is broken, Exception type: System.IO.IOException "

See this is my python file, the one that says “Proyecto” is my main file that I call the functions of the file that says “Funciiones” but when I run it on UiPath, it doesn’t let me do it, you know how to fix that? ,
image

Regards

Hi @andros_torres_aranda

Check the below thread. It has thr solution for the error Pipe is Broken.

Regards