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.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Kudoed Authors
Users online (1,122)