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.
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?