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 / Power Automate Desktop...
Power Automate
Answered

Power Automate Desktop - Run python script json module

(2) ShareShare
ReportReport
Posted on by 39

Hi All,

 

I would like to run just a simple python script that contains json module, but I always get error.

import json

dict = '{ "name":"John", "age":30, "city":"New York"}'
y = json.loads(dict)
print(y["age"])

 

Could you please help?

 

erika027_0-1720532692994.png

 

erika027_1-1720532747474.png

 

I have the same question (0)
  • Verified answer
    Sayan Profile Picture
    818 Moderator on at

    Hey @erika027 

    I am also facing the same issue while running the python script.

    you can refer the following video 

    Run Python Script Using Powershell 

    Hope It will work!

     

    ------------------------------------------------------------------------------------------------------------------------------

    If my suggestion helped you, please give it a Thumbs up and Mark it as a Solution so that it can benefit others in the community.

     

    Thanks,

    Sayan Patra

    RPA Developer

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard