Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Wpf UI while running IronPython #514

Open
Joliettte opened this issue Oct 10, 2022 · 0 comments
Open

Update Wpf UI while running IronPython #514

Joliettte opened this issue Oct 10, 2022 · 0 comments

Comments

@Joliettte
Copy link

Joliettte commented Oct 10, 2022

I am using IronPython in WPF App to run a Python script. The script has several classes and methods. To know which step is being executed, I use the "Print" command as output info. This info is then displayed in TextBox via Binding. This works also quite well. But the problem is that the UI is only updated at the end of the script(I get the output info from Print). It seems that IronPython blocks everything in WPF and the class is not very helpful.

Can anyone tell how to solve such a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant