Given the major API changes that took place since you sent this out, have you 
got an updated version that you're willing to let us have?

Thanks!

At 06:17 PM 11/4/2005, Szymon Kobalczyk wrote
>Hello all,
>
>Attached is my attempt to create console for IronPython in WinForms. It uses 
>the RunInteractive() method on PythonEngine and provides itself as an 
>IConsole. Hence, this one runs in a single process.
>
>The RunInteractive executes it's own loop and I had to run it in background 
>thread so it doesn't block the UI. The requests for input and output messages 
>are marshaled between these two threads.
>
>Unfortunately I wasn't able to redirect standard console output to my windows 
>so you want see any results that are normally shown on the console. So what's 
>the point then? Well, it shows some way to run and provide input to the engine 
>and I hope someone already has a solution to redirect outputs. Oh, and it 
>supports history ;-)
>
>Szymon Kobalczyk.


J. Merrill / Analytical Software Corp


_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to