web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Run Python 3.7 Script?
Power Automate
Unanswered

Run Python 3.7 Script?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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,

  • PBrt Profile Picture
    27 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard