[IronPython] IronPython and Threads

Dan Eloff dan.eloff at gmail.com
Sun Jun 8 21:22:27 CEST 2008


Michael Foord Wrote:
> In my IronPython Web IDE I divert standard out and redirect it to an html
> textarea so that I can see everything that is printed. This is very useful
> for debugging.
>
> If you are doing this from threads you ought to use a dispatcher to add the
> text to the htmlarea - but it is very easy.
>

I redirect stdout and stderr to an interactive python console in
silverlight, but it does me no good here because this is happening
before the console loads. So I think I will need to create an html
textarea like you suggested to handle any output before the console
loads.

-Dan



More information about the Ironpython-users mailing list