How to integrate GUI Python script to

i have a Python script for GUI application I want to use Python activity to launch this Python script … may I know the required steps ?

GUI application that I want to run L:
image

Hi @sesa499170

Hope this helps :slight_smile:

1 Like

Thanks for sharing but i couldn’t use these steps in launching GUI application

What error you are getting?


it stays running forever with no progress, but there is no error and also doesn’t show my GUI application … i think I shall use Run Script instead of this flow but I can’t make it works

You need to install

For Windows projects, the Python Scope activity requires you to install the .NET Desktop Runtime 5.0.17

2 Likes

yes i did , thank you but still not running

Which python version you are using? & can you show your python scope settings screenshot.
Need to check your Path & library path

1 Like

Please find below images , i use very simple code to test the issue , noting i don’t receive any errors but it doesn’t run






Remove the \ after Python38. Set the python version instead of Auto.

If this is not working, try with higher version of python. Are you sure the .Net framework is installed?

1 Like

modification is done as u advised, image below is for installed .net

I tried python 3.10, 3.11

In above 3.9 version you have to add the Library path also in python scope. Like this

C:\Users\username\AppData\Local\Programs\Python\Python310\python310.dll

1 Like

@sesa499170,

I don’t think you would require any other activities than Run Python Script for this.

Here is my working sample for you to test.
Python 3.12

.Net Runtime 6.0.28

Here is Python Scope configuration:

Output:

Try this solution if it’s working or not.
Main.xaml (7.5 KB)

Thanks,
Ashok :slight_smile:

1 Like

it worked thanks alot :slight_smile:

1 Like

it worked thanks alot :slight_smile: :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.