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
Frequent Visitor

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,398)