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 / Running a python scrip...
Power Automate
Suggested Answer

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 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard