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 / How to provide python ...
Power Automate
Answered

How to provide python module paths in Run Python Script action PAD?

(0) ShareShare
ReportReport
Posted on by 357

Hi Team,
I want to run python script and my script contains multiple modules.

so how can I pass those module paths in Run Python script action.

give me expression for that.

Thanks in advance.

Sanket1_0-1718282476818.png

 

I have the same question (0)
  • Verified answer
    VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @Sanket1 ,

     

    As Python in PAD supports only 2.7 and 3.4 version.I would suggest you to use Run Powershell script action to run the python scripts.

    Please save the python script as .py file and give that path in the Powerschell script action.

    VishnuReddy1997_0-1718342002144.png

     

    If you still want to use Python script action only use the below syntax " sys.path.append "

     

    (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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard