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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,326)