Execute main method of python file in Uipath

Hi, I need to execute main method of python code in uipath. I can able to call another functions without issue but not able to call main method.

Hello,

I think you’re trying to use the Invoke Python Method activity, did you try to use the Run Python Script instead?