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

Power Automate Desktop - Run python script json module

(2) ShareShare
ReportReport
Posted on by 35

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 Super User 2025 Season 2 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard