cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jspeer1
Helper II
Helper II

Run Python 3.7 Script?

Hi,

 

How can I run a Python 3.7 script I've built and that needs to be executed as a step of one of my subflows? I tried pointing the script to the path of where my .py file is stored however it does not work.

 

Note: the script itself works if executed individually.

 

Thanks,

1 REPLY 1
PBrt
Advocate I
Advocate I

If you have python interpreter installed on the computer the desktop flow is running on, you can probably call your script using command line (CMD session).

You would open a command line session from the location your script is in and then type something along those lines:

pyhton3 myscript.py

 

You can then use the same CMD session to control execution if your script has any return.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,318)