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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Running a python scrip...
Power Automate
Unanswered

Running a python script in power autmate

(0) ShareShare
ReportReport
Posted on by 8
Hey there i'm trying to use the function run a python script in powerautomate desktop, but i'm having trouble with compatibility, it only accepts python 3.4 and python 2.7 and I cannot find the libraries that i'm used to in a version that is compatible with python 3.4 or 2.7 is there anyway i can get to run pandas or other libraries in my scripts with power automate desktop??
 
I have the same question (0)
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
     
    Yes there is a method to use Python scripts in PAD. Instead of using Run Python use Run Powershell script action.
    Save your Python code in a .py file and invoke that file through Run Powershell script action as shown in below image.
     
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
    Thanks & Regards
    Vishnu Reddy

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard